nap:naplink_handlelink() The third argument to accept() should be a

socklen_t.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@268 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-07-13 21:58:15 +00:00
parent b5f835e8fc
commit 64779fd515

View File

@@ -1670,7 +1670,7 @@ int rc;
void naplink_handlelink(int snum)
{
struct sockaddr_in remaddr;
int sra = sizeof(struct sockaddr_in);
socklen_t sra = sizeof(struct sockaddr_in);
int sock = -1;
if ((sock = accept(snum, (struct sockaddr *) &remaddr, &sra)) > -1)
{