weechat/weechat — pull request #13 by talisein (2014-03-09 18:21:14+00:00)
Title: xfer: Fix xfer.network.own_ip behavior

Github #5. xfer shouldn't try to bind() to the own_ip
address. Instead, always bind to the same local address that is
connected to the irc server, and just change the out_addr if own_ip is
used.

Also fixes a memory leak in error path.