1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

sws.c: Fixed warning: 'err' may be used uninitialized in this function

This commit is contained in:
Marc Hoersken 2012-09-11 11:48:27 +02:00
parent ef753b710b
commit 6372144be0

View File

@ -1456,7 +1456,7 @@ static void http_connect(curl_socket_t *infdp,
curl_socket_t datafd = accept(rootfd, NULL, NULL);
if(datafd != CURL_SOCKET_BAD) {
struct httprequest req2;
int err;
int err = 0;
memset(&req2, 0, sizeof(req2));
logmsg("====> Client connect DATA");
#ifdef TCP_NODELAY