summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-03-04 07:41:27 +1100
committerDamien Miller <djm@mindrot.org>2015-03-04 07:41:27 +1100
commit2fab9b0f8720baf990c931e3f68babb0bf9949c6 (patch)
treead0f27b325d29b1d831ce0547f989c61a9a029bd
parentd1bc844322461f882b4fd2277ba9a8d4966573d2 (diff)
avoid warning
-rw-r--r--regress/netcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/netcat.c b/regress/netcat.c
index f8fc7eef..6be6e054 100644
--- a/regress/netcat.c
+++ b/regress/netcat.c
@@ -1471,7 +1471,7 @@ socks_connect(const char *host, const char *port,
int socksv, const char *proxyuser)
{
int proxyfd, r, authretry = 0;
- size_t hlen, wlen;
+ size_t hlen, wlen = 0;
unsigned char buf[1024];
size_t cnt;
struct sockaddr_storage addr;