diff options
Diffstat (limited to 'tests/auto/qlocalsocket/example/server/main.cpp')
-rw-r--r-- | tests/auto/qlocalsocket/example/server/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlocalsocket/example/server/main.cpp b/tests/auto/qlocalsocket/example/server/main.cpp index 54b8789..d20b627 100644 --- a/tests/auto/qlocalsocket/example/server/main.cpp +++ b/tests/auto/qlocalsocket/example/server/main.cpp @@ -72,7 +72,7 @@ public: if (n == 0) break; qDebug() << "Read" << str; - if ("exit" == str) + if (!qstrcmp("exit", str)) qApp->quit(); if (socket->write(str, 100) < 0) { |