diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-04 22:35:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-04 22:35:36 +0100 |
commit | 5deb1eb8b6c38c19e18b6b4fca1618c90814a74f (patch) | |
tree | 8e7edc87ac7c6c6875a8df68ec7dca8effa33820 /src/curl/curl.c | |
parent | 70a66289307333b1edfc1fbb38c2232deb5ae2ab (diff) | |
download | gnunet-5deb1eb8b6c38c19e18b6b4fca1618c90814a74f.tar.gz gnunet-5deb1eb8b6c38c19e18b6b4fca1618c90814a74f.zip |
initialize response_code, always
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r-- | src/curl/curl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2014, 2015, 2016 GNUnet e.V. | 3 | Copyright (C) 2014, 2015, 2016, 2018 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify it under the | 5 | GNUnet is free software; you can redistribute it and/or modify it under the |
6 | terms of the GNU General Public License as published by the Free Software | 6 | 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) | |||
466 | CURLINFO_PRIVATE, | 466 | CURLINFO_PRIVATE, |
467 | (char **) &job)); | 467 | (char **) &job)); |
468 | GNUNET_assert (job->ctx == ctx); | 468 | GNUNET_assert (job->ctx == ctx); |
469 | response_code = 0; | ||
469 | j = download_get_result (&job->db, | 470 | j = download_get_result (&job->db, |
470 | job->easy_handle, | 471 | job->easy_handle, |
471 | &response_code); | 472 | &response_code); |