diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-23 01:23:00 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-23 01:23:00 +0100 |
commit | 4924411cff2e74d835b819151513367d08c9e524 (patch) | |
tree | 54f6f71817b9a7bf81900b96a5a3b7d78997402d /uclient.h | |
parent | b9808a8c3a8922ed8df4e6fe45848ac2e52f13be (diff) | |
download | uclient-4924411cff2e74d835b819151513367d08c9e524.tar.gz |
http: add proper error handling to uclient_http_redirect()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -121,7 +121,7 @@ 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_set_request_type(struct uclient *cl, const char *type); -bool uclient_http_redirect(struct uclient *cl); +int uclient_http_redirect(struct uclient *cl); int uclient_http_set_ssl_ctx(struct uclient *cl, const struct ustream_ssl_ops *ops, struct ustream_ssl_ctx *ctx, bool require_validation); |