summaryrefslogtreecommitdiff
path: root/src/process_url.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-09 20:37:43 +0800
committerMole Shang <[email protected]>2023-08-09 21:37:33 +0800
commitdcae2252e28fca2d8308eda208a03dbd09eaa286 (patch)
tree10ee74ef45326ac2fd119714f258394de268cee6 /src/process_url.h
parent12125ad6f4aabed1c4d0f328c33eb0717a8431ef (diff)
downloadhinata-dcae2252e28fca2d8308eda208a03dbd09eaa286.tar.gz
hinata-dcae2252e28fca2d8308eda208a03dbd09eaa286.tar.bz2
hinata-dcae2252e28fca2d8308eda208a03dbd09eaa286.zip
tree-wide: pass pointer-to-pointer to correctly free pointers
Diffstat (limited to 'src/process_url.h')
-rw-r--r--src/process_url.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_url.h b/src/process_url.h
index 005cfcf..e4b513d 100644
--- a/src/process_url.h
+++ b/src/process_url.h
@@ -58,7 +58,7 @@ void curl_cleanup(status_t *);
void poll_status(status_t *);
-void add_cookie(char *cookie);
+void add_cookie(char **p_cookie);
void set_referer(char *referer);