Fix 'occurred' typo
[libt2n] / examples / minimalistic-client.cpp
index 35ef13c..9918c2e 100644 (file)
@@ -27,7 +27,7 @@ int main(int argc, char** argv)
   extended_type_info_test();
 
   libt2n::socket_client_connection sc("./socket");
-  cmd_group_example_client cc(sc);
+  cmd_group_example_client cc(&sc);
 
   return (cc.testfunc("hello")=="hello, testfunc() was here") ? EXIT_SUCCESS : EXIT_FAILURE;
 }