diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 23:29:38 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 23:29:38 +0100 |
commit | 8fbe2716f550b1feddccdc4e8de3d391d414f5df (patch) | |
tree | e3ad8349b06f9cf2e06f6ce81b747c4f6193ac00 | |
parent | dead014a7fa7a974d0ec8ef9294bc2c2092ce9f3 (diff) | |
download | uclient-8fbe2716f550b1feddccdc4e8de3d391d414f5df.tar.gz |
fix arguments to uclient_http_reset_headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | uclient-http.c | 2 | ||||
-rw-r--r-- | uclient.h | 2 |
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); @@ -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); |