identd:identd_handler() The third argument to accept() should be a
socklen_t. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@267 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -49,7 +49,7 @@ unsigned int lport = 0, rport = 0;
|
|||||||
void identd_handler(int s)
|
void identd_handler(int s)
|
||||||
{
|
{
|
||||||
struct sockaddr_in remaddr;
|
struct sockaddr_in remaddr;
|
||||||
int sra = sizeof(struct sockaddr_in);
|
socklen_t sra = sizeof(struct sockaddr_in);
|
||||||
int sock = -1;
|
int sock = -1;
|
||||||
#if 0
|
#if 0
|
||||||
if (!(get_dllint_var("identd")) || !(get_dllstring_var("identd_user")))
|
if (!(get_dllint_var("identd")) || !(get_dllstring_var("identd_user")))
|
||||||
|
|||||||
Reference in New Issue
Block a user