aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2012-01-26 16:39:53 +0100
committerPierre Joye <pierre.php@gmail.com>2012-01-26 16:39:53 +0100
commit8ee2576b6fcc8aee0c768255a55e255a1868b609 (patch)
tree41dbe761ce20a76f3168257800bba199ed77ec47 /lib/pop3.c
parent575f3c30ed60aafddbaeeb26745cca942fb9ee2f (diff)
parentcf9fb08ca4537d76afde44daf1e92307fe2882d3 (diff)
Merge branch 'master' of github.com:bagder/curl
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index b7781109b..cc360b8b9 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -914,11 +914,7 @@ static CURLcode pop3_parse_url_path(struct connectdata *conn)
const char *path = data->state.path;
/* url decode the path and use this mailbox */
- pop3c->mailbox = curl_easy_unescape(data, path, 0, NULL);
- if(!pop3c->mailbox)
- return CURLE_OUT_OF_MEMORY;
-
- return CURLE_OK;
+ return Curl_urldecode(data, path, 0, &pop3c->mailbox, NULL, TRUE);
}
/* call this when the DO phase has completed */