summaryrefslogtreecommitdiffstats
path: root/imap/browse.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-02-26 10:38:43 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-02-26 10:38:43 +0000
commitddfe464110ab32346dcaf59c37a6d782ab4f3c14 (patch)
tree17474dc7cd354869b4ce62414bac84d20b1ef005 /imap/browse.c
parent480f56de91a2a60c7bc1acab19d0ca3daf54be85 (diff)
Brendan Cully sent a patch.
Diffstat (limited to 'imap/browse.c')
-rw-r--r--imap/browse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/browse.c b/imap/browse.c
index 8accc836..43009957 100644
--- a/imap/browse.c
+++ b/imap/browse.c
@@ -439,7 +439,7 @@ static int browse_get_namespace (IMAP_DATA* idata, char* nsbuf, int nsblen,
for (type = IMAP_NS_PERSONAL; *s; type++)
{
s = imap_next_word (s);
- if (ascii_strncasecmp (s, "NIL", 3))
+ if (*s && ascii_strncasecmp (s, "NIL", 3))
{
s++;
while (*s && *s != ')')