summaryrefslogtreecommitdiff
path: root/imap/src/imapd
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2017-07-18 19:04:03 -0600
committerEduardo Chappa <chappa@washington.edu>2017-07-18 19:04:03 -0600
commitb136a847c4acd743b0026c7dfd2069196520a260 (patch)
tree03650586533a5561aaaf3d1f8f4edd1d51c37660 /imap/src/imapd
parentbc3f61e54599136fb264cf4074abb685b866eb85 (diff)
downloadalpine-b136a847c4acd743b0026c7dfd2069196520a260.tar.xz
* Fix a few compiler warnings.
Diffstat (limited to 'imap/src/imapd')
-rw-r--r--imap/src/imapd/imapd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/imapd/imapd.c b/imap/src/imapd/imapd.c
index 980eadec..1c1d4011 100644
--- a/imap/src/imapd/imapd.c
+++ b/imap/src/imapd/imapd.c
@@ -2333,7 +2333,7 @@ STRINGLIST *parse_stringlist (unsigned char **s,int *list)
/* must be end of list */
if (c != ')') mail_free_stringlist (&ret);
}
- if ((t = *s) != '\0') { /* need to reload strtok state? */
+ if ((t = *s) != NULL) { /* need to reload strtok state? */
/* end of a list? */
if (*list && (*t == ')') && !t[1]) *list = NIL;
else sstate = t; /* otherwise reset strtok state to s */