Commit 602902e1 602902e1c3495bc0b689905ab4c19f9ecde9f801 by Sergey Poznyakoff

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.
1 parent 8d9a957d
...@@ -317,6 +317,6 @@ imap4d_list (struct imap4d_session *session, ...@@ -317,6 +317,6 @@ imap4d_list (struct imap4d_session *session,
317 free (cwd); 317 free (cwd);
318 free (ref); 318 free (ref);
319 319
320 return io_completion_response (command, status, resp_text[status]); 320 return io_completion_response (command, status, "%s", resp_text[status]);
321 } 321 }
322 322
......
...@@ -44,6 +44,7 @@ namespace other { ...@@ -44,6 +44,7 @@ namespace other {
44 mailbox { 44 mailbox {
45 folder "$CWD"; 45 folder "$CWD";
46 mailbox-pattern "$CWD/INBOX"; 46 mailbox-pattern "$CWD/INBOX";
47 mailbox-type mbox;
47 } 48 }
48 EOT 49 EOT
49 } 50 }
......