From 5b35d1851c1ec93f039f81e4f5c5900a4f778888 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Jul 2009 03:21:09 +0000 Subject: [PATCH] wprobe: fix uninitialized variable SVN-Revision: 16731 --- 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 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); -- 2.30.2