wprobe: fix uninitialized variable
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2009 03:21:09 +0000 (03:21 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2009 03:21:09 +0000 (03:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16731 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/wprobe/src/user/wprobe-util.c

index d5d440a..72feece 100644 (file)
@@ -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);
This page took 0.02379 seconds and 4 git commands to generate.