diff options
Diffstat (limited to 'post.h')
-rw-r--r-- | post.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ inline void post(const char *path, const char *pairs[], size_t n) , CURLFORM_PTRCONTENTS, content , CURLFORM_END); last = NULL; - request(path, "", NULL, NULL, post); + request(NULL, NULL, post, "%s", path); curl_formfree(post); post = NULL; } |