summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-09-13 16:44:44 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-09-13 16:44:44 +0300
commit546a1c78efa1bad5536d94e4722d6ac2ef62a685 (patch)
treedb8de3dafdb789587ef4da93e6e6f17708c7962c
parent661f53f37bfa6cd7562146ec4857413797bc8dd7 (diff)
downloadmailutils-546a1c78efa1bad5536d94e4722d6ac2ef62a685.tar.gz
mailutils-546a1c78efa1bad5536d94e4722d6ac2ef62a685.tar.bz2
imap4d: bugfix
* imap4d/lsub.c (imap4d_lsub): Return LSUB untagged response, not LIST.
-rw-r--r--imap4d/lsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap4d/lsub.c b/imap4d/lsub.c
index 5b748ae48..eb38aa74f 100644
--- a/imap4d/lsub.c
+++ b/imap4d/lsub.c
@@ -68,13 +68,13 @@ imap4d_lsub (struct imap4d_command *command, imap4d_tokbuf_t tok)
while (getline (&buf, &n, fp) > 0)
{
int len = strlen (buf);
if (buf[len - 1] == '\n')
buf[len - 1] = '\0';
if (util_wcard_match (buf, pattern, delim) == 0)
- util_out (RESP_NONE, "LIST () \"%s\" %s", delim, buf);
+ util_out (RESP_NONE, "LSUB () \"%s\" %s", delim, buf);
}
fclose (fp);
free (buf);
return util_finish (command, RESP_OK, "Completed");
}
else if (errno == ENOENT)

Return to:

Send suggestions and report system problems to the System administrator.