Commit Diff


commit - e2c92900300604c000af86008dad086527a04345
commit + d7ad956a06af2bde1cfcf2ed8194b6a84d69d968
blob - bbb186e9b19d60186593db1084e8d6a5d88fede0
blob + 2d5e1295f4341b1675db274f0263f66fda92b3f8
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
@@ -207,7 +207,7 @@ cb_connserver(int sock, UNUSED short what)
 
 		if (ng_ipaddr_af(&Conf_Server[server].dst_addr[0])) {
 			/* more addresses to try... */
-			New_Server(res, &Conf_Server[server].dst_addr[0]);
+			New_Server(server, &Conf_Server[server].dst_addr[0]);
 			/* connection to dst_addr[0] is now in progress, so
 			 * remove this address... */
 			Conf_Server[server].dst_addr[0] =