]> arthur.barton.de Git - ngircd-alex.git/commit
conn: fix error handling when connecting to server
authorFlorian Westphal <fw@strlen.de>
Sun, 5 Jun 2011 13:00:32 +0000 (15:00 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 5 Jun 2011 13:00:32 +0000 (15:00 +0200)
commit42b32f8a2adcbe0d7b011083cc0549ae89139449
tree385e50a5320677c7429773e90dade2e3d010a306
parent49b2d0ec98d001fbc8eedd5a183d66974f70fd52
conn: fix error handling when connecting to server

The io_event_create error handling seems to miss a 'return'
statement.

Fix this by moving io_event_create() call around so we do not
need the Conn_Close/Init calls in the error case.
src/ngircd/conn.c