diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-26 17:41:23 +0100 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-28 14:41:35 +0200 |
commit | 0c6c93df1c8fba7a4105442af848fbf808663a89 (patch) | |
tree | bed3d9f20d5286a440bcee33f659d0e3211271f7 | |
parent | 7f1ed9283fd69b237938db9fd8de73f1ce9b84ce (diff) | |
download | spice-0c6c93df1c8fba7a4105442af848fbf808663a89.tar.gz spice-0c6c93df1c8fba7a4105442af848fbf808663a89.tar.xz spice-0c6c93df1c8fba7a4105442af848fbf808663a89.zip |
client controller_test: reorder parameters since pid isn't needed for linux client test
-rw-r--r-- | client/tests/controller_test/controller_test.cpp | 6 |
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; |