~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typos.
[sgt/agedu]
/
httpd.c
diff --git
a/httpd.c
b/httpd.c
index
62c1ceb
..
e5ee270
100644
(file)
--- a/
httpd.c
+++ b/
httpd.c
@@
-430,6
+430,7
@@
void run_httpd(const void *t, int authmask, const struct httpd_config *dcfg,
fprintf(stderr, "socket(PF_INET): %s\n", strerror(errno));
exit(1);
}
+ memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
if (!dcfg->address) {
#ifdef RANDOM_LOCALHOST