summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/imap.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-10 18:36:11 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-02-10 18:36:11 (GMT)
commitbb72fff2f09ef307b74de35ab00dfc08e6da83ee (patch)
treeb919209648ec35acaf9ce10c23471bc9cbd7d549 /Utilities/cmcurl/lib/imap.c
parentf236c9cff9dcb4d4534e5532a9792e648d48d921 (diff)
parentd4da4755cdab41679ae7c2fa6ef2984a2d6837ec (diff)
downloadCMake-bb72fff2f09ef307b74de35ab00dfc08e6da83ee.zip
CMake-bb72fff2f09ef307b74de35ab00dfc08e6da83ee.tar.gz
CMake-bb72fff2f09ef307b74de35ab00dfc08e6da83ee.tar.bz2
Merge topic 'update-curl'
d4da4755 Help: Add notes for topic 'update-curl' 14c77153 Tests: Fix `file://` URLs given to curl 73ae6700 curl: Fix passing _WINSOCKAPI_ macro to compiler 1df9d5f9 Merge branch 'upstream-curl' into update-curl 4cc2908f curl 2016-12-22 (44b9b4d4) f4a3290a curl: Update script to get curl 7.52.1
Diffstat (limited to 'Utilities/cmcurl/lib/imap.c')
-rw-r--r--Utilities/cmcurl/lib/imap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmcurl/lib/imap.c b/Utilities/cmcurl/lib/imap.c
index 4aa7dcc..78dc6fa 100644
--- a/Utilities/cmcurl/lib/imap.c
+++ b/Utilities/cmcurl/lib/imap.c
@@ -107,7 +107,7 @@ static CURLcode imap_perform_authenticate(struct connectdata *conn,
const char *initresp);
static CURLcode imap_continue_authenticate(struct connectdata *conn,
const char *resp);
-static void imap_get_message(char *buffer, char** outptr);
+static void imap_get_message(char *buffer, char **outptr);
/*
* IMAP protocol handler.
@@ -390,10 +390,10 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
*
* Gets the authentication message from the response buffer.
*/
-static void imap_get_message(char *buffer, char** outptr)
+static void imap_get_message(char *buffer, char **outptr)
{
size_t len = 0;
- char* message = NULL;
+ char *message = NULL;
/* Find the start of the message */
for(message = buffer + 2; *message == ' ' || *message == '\t'; message++)