Make the addrlen passed to my_accept() a socklen_t everywhere.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@278 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-07-14 03:09:16 +00:00
parent a3b938dfd5
commit 27ed98a03d
4 changed files with 6 additions and 6 deletions

View File

@@ -3056,7 +3056,7 @@ unsigned int lport = 0, rport = 0;
void identd_handler(int s)
{
struct sockaddr_in remaddr;
int sra = sizeof(struct sockaddr_in);
socklen_t sra = sizeof(struct sockaddr_in);
int sock = -1;
if ((sock = my_accept(s, (struct sockaddr *) &remaddr, &sra)) > -1)
{