Merge branch 'jm/doc-wording-tweaks'
[gitweb.git] / imap-send.c
index 5c4f336330e416379a15cee75b593f0aea451025..83a6ed2ac338d7fc82f3bed6fcb93ffe8dae5739 100644 (file)
@@ -952,7 +952,7 @@ static struct imap_store *imap_open_store(struct imap_server_conf *srvc)
        char *arg, *rsp;
        int s = -1, preauth;
 
-       ctx = xcalloc(sizeof(*ctx), 1);
+       ctx = xcalloc(1, sizeof(*ctx));
 
        ctx->imap = imap = xcalloc(sizeof(*imap), 1);
        imap->buf.sock.fd[0] = imap->buf.sock.fd[1] = -1;