]> granicus.if.org Git - mutt/commitdiff
Clear name field from status callback before each IMAP completion attempt.
authorBrendan Cully <brendan@kublai.com>
Mon, 19 Dec 2005 17:26:00 +0000 (17:26 +0000)
committerBrendan Cully <brendan@kublai.com>
Mon, 19 Dec 2005 17:26:00 +0000 (17:26 +0000)
imap/imap.c

index 98e56147aed33e18924016d7b2d4c1cefc9bf8fc..159b4372eba924c5ce73305206f51a0c930de7bd 100644 (file)
@@ -1771,6 +1771,7 @@ int imap_complete(char* dest, size_t dlen, char* path) {
   idata->cmddata = &listresp;
   do
   {
+    listresp.name = NULL;
     rc = imap_cmd_step (idata);
 
     if (rc == IMAP_CMD_CONTINUE && listresp.name)