wprobe: fix uninitialized variable

SVN-Revision: 16731
This commit is contained in:
Felix Fietkau 2009-07-07 03:21:09 +00:00
parent 9a194f41bb
commit 5b35d1851c

View File

@ -296,7 +296,7 @@ static int run_proxy(int port)
return 1;
}
while(1) {
unsigned int addrlen;
unsigned int addrlen = sizeof(struct sockaddr_in);
int ret, c;
c = accept(s, (struct sockaddr *)&sa, &addrlen);