diff --git a/src/modules/files/file.c b/src/modules/files/file.c index 6407af1fd53bbb96f49bcfae8a92461c63414ee8..5a50340856315c341dfeaf0f72980d1725a0f7a7 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -5,7 +5,7 @@ \*/ #include "global.h" -RCSID("$Id: file.c,v 1.120 1998/08/06 23:23:40 grubba Exp $"); +RCSID("$Id: file.c,v 1.121 1998/08/06 23:38:08 grubba Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -1351,7 +1351,7 @@ int my_socketpair(int family, int type, int protocol, int sv[2]) * * FIXME: Configure-test? */ - PIKE_ACCEPT_TYPE len; + ACCEPT_SIZE_T len; MEMSET((char *)&addr,0,sizeof(struct sockaddr_in)); @@ -1423,7 +1423,7 @@ retry_connect: for(tmp2=0;tmp2<20;tmp2++) { int tmp; - PIKE_ACCEPT_TYPE len2; + ACCEPT_SIZE_T len2; len2=sizeof(addr); tmp=fd_accept(fd,(struct sockaddr *)&addr,&len2); @@ -1448,7 +1448,7 @@ retry_connect: */ do { - PIKE_ACCEPT_TYPE len3; + ACCEPT_SIZE_T len3; len3=sizeof(addr); retry_accept: @@ -1912,7 +1912,7 @@ static void file_query_address(INT32 args) /* XOPEN GROUP think this variable should a size_t, BSD thinks it should * be an int. */ - PIKE_ACCEPT_TYPE len; + ACCEPT_SIZE_T len; if(FD <0) error("file->query_address(): Connection not open.\n"); diff --git a/src/modules/files/socket.c b/src/modules/files/socket.c index a24d91298f044524c605d2560b0f614263101a35..44d931bba34eb5843789242d6a67779d130fc5d0 100644 --- a/src/modules/files/socket.c +++ b/src/modules/files/socket.c @@ -18,7 +18,7 @@ #include "file_machine.h" #include "file.h" -RCSID("$Id: socket.c,v 1.38 1998/08/06 23:20:49 grubba Exp $"); +RCSID("$Id: socket.c,v 1.39 1998/08/06 23:38:52 grubba Exp $"); #ifdef HAVE_SYS_TYPE_H #include <sys/types.h> @@ -308,7 +308,7 @@ static void port_accept(INT32 args) struct port *this=THIS; int fd,tmp; struct object *o; - PIKE_ACCEPT_TYPE len=0; + ACCEPT_SIZE_T len=0; if(THIS->fd < 0) error("port->accept(): Port not open.\n"); @@ -346,7 +346,7 @@ static void socket_query_address(INT32 args) struct sockaddr_in addr; int i; char buffer[496],*q; - PIKE_ACCEPT_TYPE len; + ACCEPT_SIZE_T len; if(THIS->fd <0) error("socket->query_address(): Socket not bound yet.\n");