diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-07 03:21:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-07 03:21:09 +0000 |
commit | 5b35d1851c1ec93f039f81e4f5c5900a4f778888 (patch) | |
tree | 688c4383b9a5e8716d1580dbf9a3308123e1d878 /package/wprobe | |
parent | 9a194f41bb953a72c8fbf7e0364ce88dfc5a6da0 (diff) | |
download | mtk-20170518-5b35d1851c1ec93f039f81e4f5c5900a4f778888.zip mtk-20170518-5b35d1851c1ec93f039f81e4f5c5900a4f778888.tar.gz mtk-20170518-5b35d1851c1ec93f039f81e4f5c5900a4f778888.tar.bz2 |
wprobe: fix uninitialized variable
SVN-Revision: 16731
Diffstat (limited to 'package/wprobe')
-rw-r--r-- | package/wprobe/src/user/wprobe-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wprobe/src/user/wprobe-util.c b/package/wprobe/src/user/wprobe-util.c index d5d440a..72feece 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); |