summaryrefslogtreecommitdiff
path: root/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'post.h')
-rw-r--r--post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.h b/post.h
index 05af269..8420d73 100644
--- a/post.h
+++ b/post.h
@@ -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;
}