diff options
| author | 2024-04-09 11:15:05 -0400 | |
|---|---|---|
| committer | 2024-04-09 11:15:05 -0400 | |
| commit | 3d1ab87859a291cf8965b56703931193d5e6ae25 (patch) | |
| tree | d943ee5fa900c3cc041142631c1c564bba4ab01e /src/curl | |
| parent | 953dcd1da1ba35ecab7e2955aed3967e95640cff (diff) | |
| download | libnaunet-3d1ab87859a291cf8965b56703931193d5e6ae25.tar.gz libnaunet-3d1ab87859a291cf8965b56703931193d5e6ae25.tar.bz2 libnaunet-3d1ab87859a291cf8965b56703931193d5e6ae25.zip | |
Update str usage, add macro for getting packet id
Signed-off-by: Andrew Opalach <andrew@akon.city>
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; |