summaryrefslogtreecommitdiff
path: root/src/protocol/ArgParser.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-02-19 09:24:11 +0100
committerMax Kellermann <max@duempel.org>2013-02-19 09:24:11 +0100
commit214a526945170308c219ddae0227acea540e97dc (patch)
treefa104ad9777b6725b15b67987f09cc3d4b323b02 /src/protocol/ArgParser.cxx
parentaf9917658145e0595d16c6e508b95d0eef2986d0 (diff)
parentd5b756413a1ea432e8e580b27fef004223895f07 (diff)
Merge branch 'v0.17.x'
Diffstat (limited to 'src/protocol/ArgParser.cxx')
-rw-r--r--src/protocol/ArgParser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/ArgParser.cxx b/src/protocol/ArgParser.cxx
index 0ab19f7d4..6bd53a358 100644
--- a/src/protocol/ArgParser.cxx
+++ b/src/protocol/ArgParser.cxx
@@ -103,7 +103,7 @@ check_range(Client *client, unsigned *value_r1, unsigned *value_r2,
if (*test == ':') {
value = strtol(++test, &test2, 10);
- if (test2 == test || *test2 != '\0') {
+ if (*test2 != '\0') {
command_error(client, ACK_ERROR_ARG,
"Integer or range expected: %s", s);
return false;