The third argument to accept() should be a socklen_t.

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

View File

@@ -3931,7 +3931,7 @@ SocketList *s;
int sock, s1;
DCC_int *new;
struct sockaddr_in data_addr = { 0 };
int len = sizeof(struct sockaddr_in);
socklen_t len;
char tmp[BIG_BUFFER_SIZE+1], *bufptr;
if ((sock = open_listen_port(s->is_read)) == -1)
return -1;