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

@@ -730,7 +730,7 @@ DCC_List *new_i;
static void start_dcc_chat(int s)
{
struct sockaddr_in remaddr;
int sra;
socklen_t sra;
int type;
int new_s = -1;
char *nick = NULL;
@@ -1789,7 +1789,7 @@ char *buffer = alloca(MAX_DCC_BLOCK_SIZE+1);
void start_dcc_send(int s)
{
struct sockaddr_in remaddr;
int sra;
socklen_t sra;
int type;
int new_s = -1;
int tdcc = 0;
@@ -3832,7 +3832,7 @@ void open_ftpget(SocketList *s, char *args)
SocketList *sock;
DCC_int *new;
struct sockaddr_in data_addr = { 0 };
int len = sizeof(struct sockaddr_in);
socklen_t len = sizeof(struct sockaddr_in);
char tmp[BIG_BUFFER_SIZE+1];
int data = -1, s1 = -1;
char *p, *bufptr;