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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user