aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-01-03 13:46:37 +0000
committerKamil Dudka <kdudka@redhat.com>2010-01-03 13:46:37 +0000
commitfd903eb6bee230dd6751e144baa1eb4470cdf8a4 (patch)
tree00b9894eedbc1c872d125a3522f7121a0a8d50a5 /lib
parent2c93ec5303f0a3d46d10dbcee98e46a0b413a59b (diff)
- Julien Chaffraix eliminated a duplicated initialization in singlesocket().
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index c746612e2..6c59ed09f 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1760,7 +1760,6 @@ static void singlesocket(struct Curl_multi *multi,
struct Curl_one_easy *easy_by_hash;
bool remove_sock_from_hash;
- memset(&socks, 0, sizeof(socks));
for(i=0; i< MAX_SOCKSPEREASYHANDLE; i++)
socks[i] = CURL_SOCKET_BAD;