]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
Se corrige un bug.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 17 Nov 2003 15:23:17 +0000 (15:23 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 17 Nov 2003 15:23:17 +0000 (15:23 +0000)
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]);
                                        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;
                                        cmd.set_args(v);
                                        client->send(cmd);
                                        break;