Make the addrlen passed to connect() in connect_by_number() a socklen_t.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@281 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-07-14 04:16:13 +00:00
parent e070369079
commit 37dcaad1ae

View File

@@ -500,7 +500,7 @@ int BX_connect_by_number(char *hostn, unsigned short *portnum, int service, int
else if (!is_unix && (service == SERVICE_CLIENT)) else if (!is_unix && (service == SERVICE_CLIENT))
{ {
struct sockaddr_foobar server; struct sockaddr_foobar server;
int server_len; socklen_t server_len;
struct hostent *hp; struct hostent *hp;
#ifdef WINNT #ifdef WINNT
char buf[BIG_BUFFER_SIZE+1]; char buf[BIG_BUFFER_SIZE+1];