From: Felix Fietkau Date: Tue, 7 Jul 2009 03:21:09 +0000 (+0000) Subject: wprobe: fix uninitialized variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b35d1851c1ec93f039f81e4f5c5900a4f778888;p=openwrt%2Fstaging%2Flinusw.git wprobe: fix uninitialized variable SVN-Revision: 16731 --- diff --git a/package/wprobe/src/user/wprobe-util.c b/package/wprobe/src/user/wprobe-util.c index d5d440a30c..72feece025 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);