aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 8d805e83d..28525554e 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -654,7 +654,7 @@ static CURLcode imap_perform_list(struct connectdata *conn)
imap->custom_params ? imap->custom_params : "");
else {
/* Make sure the mailbox is in the correct atom format if necessary */
- mailbox = imap->mailbox ? imap_atom(imap->mailbox) : "";
+ mailbox = imap->mailbox ? imap_atom(imap->mailbox) : (char *)"";
if(!mailbox)
return CURLE_OUT_OF_MEMORY;