summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-29 23:29:38 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-29 23:29:38 +0100
commit8fbe2716f550b1feddccdc4e8de3d391d414f5df (patch)
treee3ad8349b06f9cf2e06f6ce81b747c4f6193ac00
parentdead014a7fa7a974d0ec8ef9294bc2c2092ce9f3 (diff)
downloaduclient-8fbe2716f550b1feddccdc4e8de3d391d414f5df.tar.gz
fix arguments to uclient_http_reset_headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--uclient-http.c2
-rw-r--r--uclient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/uclient-http.c b/uclient-http.c
index 4419944..f16d29d 100644
--- a/uclient-http.c
+++ b/uclient-http.c
@@ -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);
diff --git a/uclient.h b/uclient.h
index e8214c2..65e48b2 100644
--- 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);