From b136a847c4acd743b0026c7dfd2069196520a260 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 18 Jul 2017 19:04:03 -0600 Subject: * Fix a few compiler warnings. --- imap/src/imapd/imapd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap/src/imapd') 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 */ -- cgit v1.2.3-54-g00ecf