mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +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:
@@ -296,7 +296,7 @@ static int run_proxy(int port)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
while(1) {
|
while(1) {
|
||||||
unsigned int addrlen;
|
unsigned int addrlen = sizeof(struct sockaddr_in);
|
||||||
int ret, c;
|
int ret, c;
|
||||||
|
|
||||||
c = accept(s, (struct sockaddr *)&sa, &addrlen);
|
c = accept(s, (struct sockaddr *)&sa, &addrlen);
|
||||||
|
|||||||
Reference in New Issue
Block a user