Make the namelen passed to getsockname() a socklen_t everywhere.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@280 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-07-14 03:26:00 +00:00
parent 80cfa9c5d8
commit e070369079
3 changed files with 3 additions and 3 deletions

View File

@@ -451,7 +451,7 @@ int BX_connect_by_number(char *hostn, unsigned short *portnum, int service, int
/* Inet domain server */
if (!is_unix && (service == SERVICE_SERVER))
{
int length;
socklen_t length;
#ifdef IP_PORTRANGE
int ports;
#endif