gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 5deb1eb8b6c38c19e18b6b4fca1618c90814a74f
parent 70a66289307333b1edfc1fbb38c2232deb5ae2ab
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  4 Jan 2018 22:35:36 +0100

initialize response_code, always

Diffstat:
Msrc/curl/curl.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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);