libt2n: (gerd) adapt codegen to new command_client interface, fix codegen-examples
[libt2n] / examples-codegen / example2 / client.cpp
index 1ed845b..dfddf83 100644 (file)
@@ -1,6 +1,6 @@
 /*
-    Copyright (C) 2006                                                    
-    intra2net.com                                                         
+    Copyright (C) 2006
+    intra2net.com
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -33,8 +33,8 @@ int main(int argc, char** argv)
 {
   libt2n::socket_client_connection sc("./socket");
   libt2n::socket_client_connection sc_other("./socket_other");
-  cmd_group_default_client cc(sc);
-  cmd_group_other_client cc_other(sc_other);
+  cmd_group_default_client cc(&sc);
+  cmd_group_other_client cc_other(&sc_other);
 
   bool throwok=false;
   try