X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8f7f273fa4ce32e983f4437a7efa89d75062a2f9..24168b91595c0c5a9420c348c4c16e727e1aaa81:/package/wprobe/src/user/wprobe-util.c diff --git a/package/wprobe/src/user/wprobe-util.c b/package/wprobe/src/user/wprobe-util.c index d5d440a30..72feece02 100644 --- a/package/wprobe/src/user/wprobe-util.c +++ b/package/wprobe/src/user/wprobe-util.c @@ -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);