1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 11:29:48 +03:00

wprobe: fix uninitialized variable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16731 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-07-07 03:21:09 +00:00
parent 47a2f983bd
commit e68b3865cc

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);