Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8fb5c
)
htparser: Fixed SSL listening bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 27 Dec 2012 07:31:43 +0000
(08:31 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 27 Dec 2012 07:31:43 +0000
(08:31 +0100)
src/ssl-gnutls.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ssl-gnutls.c
b/src/ssl-gnutls.c
index
24c8752
..
d4862d4
100644
(file)
--- a/
src/ssl-gnutls.c
+++ b/
src/ssl-gnutls.c
@@
-607,9
+607,9
@@
void handlegnussl(int argc, char **argp, char **argv)
pd->creds = creds;
pd->ncreds = ncreds.b;
mustart(listenloop, pd);
- if((fd = listensock
6
(port)) < 0) {
+ if((fd = listensock
4
(port)) < 0) {
if(errno != EADDRINUSE) {
- flog(LOG_ERR, "could not listen on IPv
6
port (port %i): %s", port, strerror(errno));
+ flog(LOG_ERR, "could not listen on IPv
4
port (port %i): %s", port, strerror(errno));
exit(1);
}
} else {