]> arthur.barton.de Git - ngircd-alex.git/commit
conn.c: fix NumConnections imbalance
authorFlorian Westphal <fw@strlen.de>
Sun, 17 May 2009 19:32:53 +0000 (21:32 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 17 May 2009 19:32:53 +0000 (21:32 +0200)
commit9b1c47220fafeacda1e83b4732e1c8574062aac6
treedda988d751096592b9966b62925f2dd9effeb96c
parent8e2c5816eec58a5de63399a54773dda6a5729c36
conn.c: fix NumConnections imbalance

New_Server() can call Conn_Close() in its error paths,
but that function decrements the number of current active
connections. Thus we need to increment it earlier.
src/ngircd/conn.c