From: Christian Grothoff Date: Thu, 4 Jan 2018 21:35:36 +0000 (+0100) Subject: initialize response_code, always X-Git-Tag: gnunet-0.11.0rc0~16^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5deb1eb8b6c38c19e18b6b4fca1618c90814a74f;p=oweals%2Fgnunet.git initialize response_code, always --- diff --git a/src/curl/curl.c b/src/curl/curl.c index 6087cbddb..0a9fc5ffb 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet - Copyright (C) 2014, 2015, 2016 GNUnet e.V. + Copyright (C) 2014, 2015, 2016, 2018 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -466,6 +466,7 @@ GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx) CURLINFO_PRIVATE, (char **) &job)); GNUNET_assert (job->ctx == ctx); + response_code = 0; j = download_get_result (&job->db, job->easy_handle, &response_code);