summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/socks.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-03-27 17:53:10 +0300
committerdartraiden <wowemuh@gmail.com>2019-03-27 17:55:46 +0300
commite41e0c05795b60cd749ae038cd96c966ec0c87bb (patch)
treee1f0d837b021bcd1db9c59c3c56c09e1871d3750 /libs/libcurl/src/socks.c
parent1634710bb1c4860feda7bb703fd01f5b2c23695d (diff)
libcurl: update to 7.64.1
Diffstat (limited to 'libs/libcurl/src/socks.c')
-rw-r--r--libs/libcurl/src/socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/socks.c b/libs/libcurl/src/socks.c
index d2209ad899..d0aba0605a 100644
--- a/libs/libcurl/src/socks.c
+++ b/libs/libcurl/src/socks.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -54,7 +54,7 @@ int Curl_blockread_all(struct connectdata *conn, /* connection data */
ssize_t buffersize, /* max amount to read */
ssize_t *n) /* amount bytes read */
{
- ssize_t nread;
+ ssize_t nread = 0;
ssize_t allread = 0;
int result;
*n = 0;