X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/184e15f0eedd1a3895987e59f5d39fad19c3b9b6..d664a4c16bb56138b53e8d6dba92e199bd3ea6c7:/Server/tests/client_test.cpp diff --git a/Server/tests/client_test.cpp b/Server/tests/client_test.cpp index 2bf118a..0ab975b 100644 --- a/Server/tests/client_test.cpp +++ b/Server/tests/client_test.cpp @@ -27,7 +27,6 @@ #include "plaqui/server/controlclient.h" #include "plaqui/server/string.h" -//#include #include #include #include @@ -72,7 +71,7 @@ int main(int argc, char* argv[]) { // Obtengo host. host = argv[1]; } - unsigned port = 7522; + Connection::Port port = 7522; if (argc > 2) { // Obtengo puerto. stringstream str(argv[2]); @@ -108,7 +107,7 @@ int main(int argc, char* argv[]) { break; default: Command cmd(v[0], v[1]); - v.erase(v.begin(), v.begin() + 1); + v.erase(v.begin(), v.begin() + 2); cmd.set_args(v); client->send(cmd); break;