]> arthur.barton.de Git - ngircd-alex.git/commit
New_Connection(): don't set the client hostname twice
authorAlexander Barton <alex@barton.de>
Wed, 25 Jan 2012 16:11:44 +0000 (17:11 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 25 Jan 2012 16:11:44 +0000 (17:11 +0100)
commitc16133c5ee72256ef5b8fa586e72e5e3598e75bb
treec3eca50c5c141390ca2db4cc2c7a6903ac27b883
parent48889844299e036515e567aa5f992df18ccdf2d7
New_Connection(): don't set the client hostname twice

Setting the hostname twice doesn't do much harm a lot, but isn't elegant.
And for IPv6 addresses, it isn't correct the first time (missing []) ...
src/ngircd/client.c
src/ngircd/conn.c