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

@@ -3692,7 +3692,7 @@ int err;
int open_listen_port(int s)
{
struct sockaddr_in data_addr = { 0 };
int len = sizeof(struct sockaddr_in), data = -1;
socklen_t len = sizeof(struct sockaddr_in), data = -1;
int on = 1;
char *a, *p;