diff options
author | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
commit | deb3dda96648e7ae5b83c6ea3d35a92a0c1476fa (patch) | |
tree | 2b502144017db5ba30db1febbe4ae6d33873c5bd /libs/libcurl/src/pop3.c | |
parent | 1b0acf437a564bdcd97f4807fa7921d126fdffef (diff) |
libcurl: update to 7.62
Diffstat (limited to 'libs/libcurl/src/pop3.c')
-rw-r--r-- | libs/libcurl/src/pop3.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/libcurl/src/pop3.c b/libs/libcurl/src/pop3.c index cd994f63d1..5e0fd2299b 100644 --- a/libs/libcurl/src/pop3.c +++ b/libs/libcurl/src/pop3.c @@ -1303,8 +1303,6 @@ static CURLcode pop3_regular_transfer(struct connectdata *conn, static CURLcode pop3_setup_connection(struct connectdata *conn) { - struct Curl_easy *data = conn->data; - /* Initialise the POP3 layer */ CURLcode result = pop3_init(conn); if(result) @@ -1312,7 +1310,6 @@ static CURLcode pop3_setup_connection(struct connectdata *conn) /* Clear the TLS upgraded flag */ conn->tls_upgraded = FALSE; - data->state.path++; /* don't include the initial slash */ return CURLE_OK; } @@ -1387,7 +1384,7 @@ static CURLcode pop3_parse_url_path(struct connectdata *conn) /* The POP3 struct is already initialised in pop3_connect() */ struct Curl_easy *data = conn->data; struct POP3 *pop3 = data->req.protop; - const char *path = data->state.path; + const char *path = &data->state.up.path[1]; /* skip leading path */ /* URL decode the path for the message ID */ return Curl_urldecode(data, path, 0, &pop3->id, NULL, TRUE); |