aboutsummaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-08-29 21:11:55 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-08-29 21:11:55 +0000
commit4031eb1d91936610ccff8df0e92a51d1ec11d3b5 (patch)
tree909beb420037222da6fc6b0fb717efe61b6d415c /lib/dict.c
parent59cf6fd4f058917839a407f5a206f5f1c1a004a6 (diff)
Avoid Metaware's High-C warning "'=' encountered where '==' may have been intended."
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 86d00c961..6a5697952 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -106,7 +106,7 @@ static char *unescape_word(struct SessionHandle *data, char *inp)
/* According to RFC2229 section 2.2, these letters need to be escaped with
\[letter] */
for(ptr = newp;
- (byte = (unsigned char)*ptr);
+ (byte = (unsigned char)*ptr) != 0;
ptr++) {
if ((byte <= 32) || (byte == 127) ||
(byte == '\'') || (byte == '\"') || (byte == '\\')) {