projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a194f4
)
wprobe: fix uninitialized variable
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 7 Jul 2009 03:21:09 +0000
(
03:21
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 7 Jul 2009 03:21:09 +0000
(
03:21
+0000)
SVN-Revision: 16731
package/wprobe/src/user/wprobe-util.c
patch
|
blob
|
history
diff --git
a/package/wprobe/src/user/wprobe-util.c
b/package/wprobe/src/user/wprobe-util.c
index d5d440a30c58d148f04ce7bd194a0f0eaaf91f8b..72feece02542fc297f3439b436fcf12c0b2f1558 100644
(file)
--- 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);