From e7403a6df954e6e889b722e21a11453d2c69637c Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Fri, 21 Mar 2008 19:10:04 +0000 Subject: [PATCH] fixed so that sv_bindaddr works like it should --- src/engine/server/es_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/es_server.c b/src/engine/server/es_server.c index 855b17087..41306f07b 100644 --- a/src/engine/server/es_server.c +++ b/src/engine/server/es_server.c @@ -914,7 +914,7 @@ static int server_run() } /* start server */ - if(config.sv_bindaddr[0] && net_host_lookup(config.sv_bindaddr, config.sv_port, &bindaddr) != 0) + if(config.sv_bindaddr[0] && net_host_lookup(config.sv_bindaddr, config.sv_port, &bindaddr) == 0) { /* sweet! */ }