fix arguments to uclient_http_reset_headers
authorFelix Fietkau <nbd@openwrt.org>
Sat, 29 Mar 2014 22:29:38 +0000 (23:29 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 29 Mar 2014 22:29:38 +0000 (23:29 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-http.c
uclient.h

index 4419944..f16d29d 100644 (file)
@@ -801,7 +801,7 @@ uclient_http_set_request_type(struct uclient *cl, const char *type)
 }
 
 int
-uclient_http_reset_headers(struct uclient *cl, const char *name, const char *value)
+uclient_http_reset_headers(struct uclient *cl)
 {
        struct uclient_http *uh = container_of(cl, struct uclient_http, uc);
 
index e8214c2..65e48b2 100644 (file)
--- a/uclient.h
+++ b/uclient.h
@@ -68,8 +68,8 @@ int uclient_request(struct uclient *cl);
 /* HTTP */
 extern const struct uclient_backend uclient_backend_http;
 
+int uclient_http_reset_headers(struct uclient *cl);
 int uclient_http_set_header(struct uclient *cl, const char *name, const char *value);
-int uclient_http_reset_headers(struct uclient *cl, const char *name, const char *value);
 int uclient_http_set_request_type(struct uclient *cl, const char *type);
 bool uclient_http_redirect(struct uclient *cl);