]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Conn_Write(): Make sure there is a client when detecting its type
authorAlexander Barton <alex@barton.de>
Fri, 6 Jan 2012 02:26:24 +0000 (03:26 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 6 Jan 2012 02:26:24 +0000 (03:26 +0100)
The assert(client != NULL) got triggered during our tests, so there is
an error path that resulted in the connection being still established
(sock >= 0) but the client structure already freed.

So Conn_Write() should handle it!


No differences found