{"thread":{"id":"27026","subject":"[PATCH 3/9] sparse: Fix some \"Using plain integer as NULL pointer\" warnings","startedAt":"2011-04-07T18:24:57Z","lastAt":"2011-04-07T18:24:57Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":9},"messages":[{"id":"165375","messageId":"4D9E0179.60306@ramsay1.demon.co.uk","threadId":"27026","inReplyTo":null,"subject":"[PATCH 3/9] sparse: Fix some \"Using plain integer as NULL pointer\" warnings","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2011-04-07T18:24:57Z","receivedAt":"2011-04-07T18:24:57Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n imap-send.c |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/imap-send.c b/imap-send.c\nindex 9adf4b9..e1ad1a4 100644\n--- a/imap-send.c\n+++ b/imap-send.c\n@@ -1193,13 +1193,13 @@ static struct store *imap_open_store(struct imap_server_conf *srvc)\n \tif (!preauth) {\n #ifndef NO_OPENSSL\n \t\tif (!srvc->use_ssl && CAP(STARTTLS)) {\n-\t\t\tif (imap_exec(ctx, 0, \"STARTTLS\") != RESP_OK)\n+\t\t\tif (imap_exec(ctx, NULL, \"STARTTLS\") != RESP_OK)\n \t\t\t\tgoto bail;\n \t\t\tif (ssl_socket_connect(&imap->buf.sock, 1,\n \t\t\t\t\t       srvc->ssl_verify))\n \t\t\t\tgoto bail;\n \t\t\t/* capabilities may have changed, so get the new capabilities */\n-\t\t\tif (imap_exec(ctx, 0, \"CAPABILITY\") != RESP_OK)\n+\t\t\tif (imap_exec(ctx, NULL, \"CAPABILITY\") != RESP_OK)\n \t\t\t\tgoto bail;\n \t\t}\n #endif\n-- \n1.7.4\n"}]}