From f62e27ad8d3a61bca870e9fd352b052b21d6ea33 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Wed, 2 Apr 2008 15:53:46 +0400 Subject: [PATCH] add_listener w/o ssl --- src/newconf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/newconf.c b/src/newconf.c index e36882f2..c043b5a3 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -758,9 +758,10 @@ conf_set_listen_port(void *data) } if(listener_address == NULL) { - add_listener(args->v.number, listener_address, AF_INET); + /* XXX put ssl here -- dwr */ + add_listener(args->v.number, listener_address, AF_INET, 0); #ifdef IPV6 - add_listener(args->v.number, listener_address, AF_INET6); + add_listener(args->v.number, listener_address, AF_INET6, 0); #endif } else @@ -773,7 +774,7 @@ conf_set_listen_port(void *data) #endif family = AF_INET; - add_listener(args->v.number, listener_address, family); + add_listener(args->v.number, listener_address, family, 0); }