summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-02-26 17:41:23 +0100
committerAlon Levy <alevy@redhat.com>2012-02-28 14:40:42 +0200
commit294dae31b027a195344604413614c2c1e027ba48 (patch)
treee748f48a1cec9b47a299568038c7ed475dbf3018 /client
parent26516fc5a2f5723543386ade3e7b2907408d05b6 (diff)
downloadspice-294dae31b027a195344604413614c2c1e027ba48.tar.gz
spice-294dae31b027a195344604413614c2c1e027ba48.tar.xz
spice-294dae31b027a195344604413614c2c1e027ba48.zip
client controller_test: reorder parameters since pid isn't needed for linux client test
Diffstat (limited to 'client')
-rw-r--r--client/tests/controller_test/controller_test.cpp6
1 files 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;