Fix 'occurred' typo
[libt2n] / examples-codegen / example1-client-wrapper / client.cpp
index 86a2802..c4b3c90 100644 (file)
@@ -22,11 +22,9 @@ int main(int argc, char** argv)
     wraptype::set_connection(std::auto_ptr<libt2n::ConnectionWrapper>
         (new libt2n::ReconnectSocketWrapper("./socket")));
 
-    std::string result;
-
     // execute a function via t2n. The wrapper will open a connection to the server if none
     // exists or try to reconnect if the existing one doesn't answer
-    std::cout << t2n_exec(&cmd_group_t2nexample_client::testfunc)("hello") << endl;
+    std::cout << t2n_exec(&cmd_group_t2nexample_client::testfunc)("hello") << std::endl;
 
     return EXIT_SUCCESS;
 }