]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/tests/client_test.cpp
- Se arregla el bug de ControlClient::get_host() y ControlClient::get_port().
[z.facultad/75.42/plaqui.git] / Server / tests / client_test.cpp
index 2bf118a518c389247205fca4ac334d1715b0c59a..02eb99190ddc6cdc9a0bd1538b2484f1e8f3a3d5 100644 (file)
@@ -108,7 +108,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;