Assorted warning fixes and added a comment, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-01-16 17:31:05 +01:00
parent 936e83e694
commit 4e08a123b0
3 changed files with 14 additions and 1 deletions

View File

@@ -1092,6 +1092,9 @@ static void download_one_url(const char *url)
fflush(sfp);
/* Tried doing this unconditionally.
* Cloudflare and nginx/1.11.5 are shocked to see SHUT_WR on non-HTTPS.
*/
#if SSL_SUPPORTED
if (target.protocol == P_HTTPS) {
/* If we use SSL helper, keeping our end of the socket open for writing