sparse: Fix some "Using plain integer as NULL pointer" warnings
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
Apr 7, 2011 at 19:24 UTC
d27da38a19d0c21702a012689f256b83545f2e7f
1 file changed
+2
-2
imap-send.c
+2
-2
@@ -1193,13 +1193,13 @@ static struct store *imap_open_store(struct imap_server_conf *srvc)
1193
if (!preauth) {
1194
#ifndef NO_OPENSSL
1195
if (!srvc->use_ssl && CAP(STARTTLS)) {
1196
- if (imap_exec(ctx, 0, "STARTTLS") != RESP_OK)
1196
+ if (imap_exec(ctx, NULL, "STARTTLS") != RESP_OK)
1197
goto bail;
1198
if (ssl_socket_connect(&imap->buf.sock, 1,
1199
srvc->ssl_verify))
1200
goto bail;
1201
/* capabilities may have changed, so get the new capabilities */
1202
- if (imap_exec(ctx, 0, "CAPABILITY") != RESP_OK)
1202
+ if (imap_exec(ctx, NULL, "CAPABILITY") != RESP_OK)
1203
goto bail;
1204
}
1205
#endif