diff --git a/src/url_unreal.c b/src/url_unreal.c index 6def6ccfd..a42dfc88f 100644 --- a/src/url_unreal.c +++ b/src/url_unreal.c @@ -932,7 +932,7 @@ void https_done(Download *handle) handle->file_fd = NULL; } - else if (!handle->got_response) + if (!handle->got_response) url_callback(handle->request, NULL, NULL, 0, "HTTPS response not received", 0, handle->request->callback_data); else {