summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ad9d4c)
raw | patch | inline | side by side (parent: 2ad9d4c)
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 7 Apr 2011 18:24:57 +0000 (19:24 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Apr 2011 17:35:25 +0000 (10:35 -0700) |
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c | patch | blob | history |
diff --git a/imap-send.c b/imap-send.c
index 9adf4b981953080676aa24907fead1038b920e60..e1ad1a48ce3b8bd8517568a67477d8d0e32dfaa8 100644 (file)
--- a/imap-send.c
+++ b/imap-send.c
if (!preauth) {
#ifndef NO_OPENSSL
if (!srvc->use_ssl && CAP(STARTTLS)) {
- if (imap_exec(ctx, 0, "STARTTLS") != RESP_OK)
+ if (imap_exec(ctx, NULL, "STARTTLS") != RESP_OK)
goto bail;
if (ssl_socket_connect(&imap->buf.sock, 1,
srvc->ssl_verify))
goto bail;
/* capabilities may have changed, so get the new capabilities */
- if (imap_exec(ctx, 0, "CAPABILITY") != RESP_OK)
+ if (imap_exec(ctx, NULL, "CAPABILITY") != RESP_OK)
goto bail;
}
#endif