mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
wprobe: fix uninitialized variable
SVN-Revision: 16731
This commit is contained in:
parent
9a194f41bb
commit
5b35d1851c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user