From 30be9e113c0b10ceba056f0b38f78c297044e4f5 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 27 Jun 2009 20:57:14 +0200 Subject: [PATCH] Fix loop in checkeql() to only check every character once. --- libschily/getargs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git libschily/getargs.c libschily/getargs.c index 62b03e8..d7ac2ff 100644 --- libschily/getargs.c +++ libschily/getargs.c @@ -1205,7 +1205,7 @@ checkeql(str) for (c = (unsigned char)*str; isalnum(c) || c == '_' || c == '-' || c == '+'; - c = *str++) + c = *(++str)) /* LINTED */ ; return (c == '='); -- 1.6.3.2