diff plugins/relnot.c @ 9449:ad93d76666dd

[gaim-migrate @ 10273] Minor changes to the listen function in network.c We were using strerror() to print the string form of errno when getaddrinfo() failed, but that is incorrect. getaddrinfo() does not use errno or strerror. It retuns an integer error code which can be converted to a string with gai_strerror(errorcode) When we didn't have getaddrinfo, and we were unable to set SO_REUSEADDR, we would abort the listen attempt. That's not necessary becuase SO_REUSEADDR isn't vital, it's just nice to have (right?) struct addrinfo *res was not getting freed when we did not have any interfaces to listen on (incredibly rare) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 05 Jul 2004 15:43:26 +0000
parents 294ae6548d4e
children f8e395a054e2
line wrap: on
line diff