From e68b3865ccaa1e0c487be784cba47f7cf6852207 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 7 Jul 2009 03:21:09 +0000 Subject: [PATCH] wprobe: fix uninitialized variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16731 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/wprobe/src/user/wprobe-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1