summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/cookie.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-07-07 22:32:37 +0300
committerdartraiden <wowemuh@gmail.com>2020-07-07 22:33:07 +0300
commitc1e254b55d930cccbae653320442fb7669be7692 (patch)
tree44d5ec46130218ac0e2cc8147613ff618b686657 /libs/libcurl/src/cookie.c
parent9a8de7bc1afb5f72ddb6967c8fc32209ae3a73dd (diff)
libcurl: update to 7.71.1
Diffstat (limited to 'libs/libcurl/src/cookie.c')
-rw-r--r--libs/libcurl/src/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/cookie.c b/libs/libcurl/src/cookie.c
index 68054e1c4c..cb7d94b102 100644
--- a/libs/libcurl/src/cookie.c
+++ b/libs/libcurl/src/cookie.c
@@ -755,7 +755,7 @@ Curl_cookie_add(struct Curl_easy *data,
co->path = malloc(pathlen + 1); /* one extra for the zero byte */
if(co->path) {
memcpy(co->path, path, pathlen);
- co->path[pathlen] = 0; /* zero terminate */
+ co->path[pathlen] = 0; /* null-terminate */
co->spath = sanitize_cookie_path(co->path);
if(!co->spath)
badcookie = TRUE; /* out of memory bad */