summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-03-21 21:54:10 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2017-03-21 21:54:10 +0200
commit602902e1c3495bc0b689905ab4c19f9ecde9f801 (patch)
tree71dbbdbfe660a226775f7ea52613e7a10459d7cd
parent8d9a957d9e292ebba1a24602e407e114c5f9c5c2 (diff)
downloadmailutils-602902e1c3495bc0b689905ab4c19f9ecde9f801.tar.gz
mailutils-602902e1c3495bc0b689905ab4c19f9ecde9f801.tar.bz2
Fix imap4d testsuite
The tests failed if MU_DEFAULT_SCHEME were set to anything, but mbox. * imap4d/tests/atlocal.in (make_config): set .mailbox.mailbox-type=mbox. * imap4d/list.c (imap4d_list): Use %s as the format.
-rw-r--r--imap4d/list.c2
-rw-r--r--imap4d/tests/atlocal.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/imap4d/list.c b/imap4d/list.c
index c8d5124d2..102f7e64d 100644
--- a/imap4d/list.c
+++ b/imap4d/list.c
@@ -317,6 +317,6 @@ imap4d_list (struct imap4d_session *session,
free (cwd);
free (ref);
- return io_completion_response (command, status, resp_text[status]);
+ return io_completion_response (command, status, "%s", resp_text[status]);
}
diff --git a/imap4d/tests/atlocal.in b/imap4d/tests/atlocal.in
index f44952580..2a53155a6 100644
--- a/imap4d/tests/atlocal.in
+++ b/imap4d/tests/atlocal.in
@@ -44,6 +44,7 @@ namespace other {
mailbox {
folder "$CWD";
mailbox-pattern "$CWD/INBOX";
+ mailbox-type mbox;
}
EOT
}

Return to:

Send suggestions and report system problems to the System administrator.