libt2n: (gerd) fix client-connection-logic, finish wrappers, all tests are working...
[libt2n] / test / hello.cpp
index 80bfec6..b9e1489 100644 (file)
@@ -118,7 +118,7 @@ class test_hello : public TestFixture
                 // wait till server is up
                 sleep(1);
                 socket_client_connection sc("./socket");
-                command_client cc(sc);
+                command_client cc(&sc);
             }
         }
     }
@@ -164,7 +164,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }
@@ -221,7 +221,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }
@@ -277,7 +277,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }
@@ -342,7 +342,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }
@@ -396,7 +396,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }
@@ -450,7 +450,7 @@ class test_hello : public TestFixture
 
                 try
                 {
-                    command_client cc(sc);
+                    command_client cc(&sc);
                 }
                 catch(t2n_version_mismatch &e)
                 { errormsg=e.what(); }