Module: ngircd.git Branch: master Commit: 8e2c5816eec58a5de63399a54773dda6a5729c36 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=8e2c5...
Author: Florian Westphal fw@strlen.de Date: Sun May 17 21:27:27 2009 +0200
SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails
---
src/ngircd/conn.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index c6095a3..4c03877 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1722,6 +1722,7 @@ New_Server( int Server , ng_ipaddr_t *dest) Conn_Close( new_sock, "Could not initialize SSL for outgoing connection", NULL, false ); Init_Conn_Struct( new_sock ); Conf_Server[Server].conn_id = NONE; + return; } #endif NumConnections++;
ngircd-commits@lists.barton.de