From: Felix Fietkau Date: Sat, 29 Mar 2014 22:29:38 +0000 (+0100) Subject: fix arguments to uclient_http_reset_headers X-Git-Url: http://git.openwrt.org/?p=project%2Fuclient.git;a=commitdiff_plain;h=8fbe2716f550b1feddccdc4e8de3d391d414f5df fix arguments to uclient_http_reset_headers Signed-off-by: Felix Fietkau --- 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);