summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'url.h')
-rw-r--r--url.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/url.h b/url.h
index b4552a7..f4c5e2d 100644
--- a/url.h
+++ b/url.h
@@ -49,13 +49,12 @@ check_request_path(char *);
* The first argument is the destination buffer where the URL will be written.
* It is required.
* The second argument is the size of the destination buffer. It is required.
- * The third argument is the number of URL components provided in the following
- * vargs.
+ * The remaining arguments are the url parts
* Returns the number of characters written to the destination buffer. If it
* is equal to the destination buffer size, it means the buffer was too small
* and the resulting URL has been truncated.
*/
size_t
-url_build(char *, size_t, int,...);
+url_build(char *, size_t,...);
#endif /* URL_H */