]> granicus.if.org Git - mutt/commitdiff
Fix another IMAP browsing bug.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 5 Feb 2002 15:26:44 +0000 (15:26 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 5 Feb 2002 15:26:44 +0000 (15:26 +0000)
imap/browse.c

index f5af8922ae4156eaf1b121b153a3b207983cb507..8accc83634e09648ad31312feb9650f9ba0a40ed 100644 (file)
@@ -497,8 +497,10 @@ static int browse_get_namespace (IMAP_DATA* idata, char* nsbuf, int nsblen,
              nsi++;
              (*nns)++;
            }
-           while (*s && *s != ')') s++;
-           s++;
+           while (*s && *s != ')') 
+             s++;
+           if (*s)
+             s++;
          }
        }
       }