libt2n: (gerd) adapt codegen to new command_client interface, fix codegen-examples
[libt2n] / examples-codegen / example2-client / client.cpp
index bba7e07..861af9c 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
@@ -24,7 +24,7 @@
 int main(int argc, char** argv)
 {
   libt2n::socket_client_connection sc("./socket");
-  cmd_group_default_client cc(sc);
+  cmd_group_default_client cc(&sc);
 
   bool throwok=false;
   try