From 294dae31b027a195344604413614c2c1e027ba48 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 26 Feb 2012 17:41:23 +0100 Subject: client controller_test: reorder parameters since pid isn't needed for linux client test --- client/tests/controller_test/controller_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tests/controller_test/controller_test.cpp b/client/tests/controller_test/controller_test.cpp index aa7a6c0c..82b3166f 100644 --- a/client/tests/controller_test/controller_test.cpp +++ b/client/tests/controller_test/controller_test.cpp @@ -121,9 +121,9 @@ DWORD read_from_pipe(LPVOID data, DWORD size) int main(int argc, char *argv[]) { - int spicec_pid = (argc > 1 ? atoi(argv[1]) : 0); - char* host = (argc > 2 ? argv[2] : (char*)HOST); - int port = (argc > 3 ? atoi(argv[3]) : PORT); + int spicec_pid = (argc > 3 ? atoi(argv[3]) : 0); + char* host = (argc > 1 ? argv[1] : (char*)HOST); + int port = (argc > 2 ? atoi(argv[2]) : PORT); TCHAR pipe_name[PIPE_NAME_MAX_LEN]; ControllerValue msg; DWORD read; -- cgit