diff options
Diffstat (limited to 'src/curl')
| -rw-r--r-- | src/curl/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl/http.c b/src/curl/http.c index ef42c35..5674a18 100644 --- a/src/curl/http.c +++ b/src/curl/http.c @@ -44,7 +44,7 @@ static void http_handle_events(struct aki_curl *curl) http->callback(http->userdata, AKI_HTTP_ERROR, NULL, http->response_code); return; } - aki_curl_set_url(curl, al_str_c(redirect_url)); + aki_curl_set_url(curl, al_str_cr(redirect_url)); http->response_code = -1; http->content_length = -1; if (!aki_curl_add_handle(curl)) return; |