diff options
Diffstat (limited to 'lib/dict.c')
-rw-r--r-- | lib/dict.c | 2 |
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 == '\\')) { |