version 1.31 | | version 1.32 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.31 2005/10/01 16:36:35 ryo_saeba Exp $"; | | * "$Id: loop.c,v 1.32 2005/10/24 22:51:03 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#include <arpa/inet.h> | | #include <arpa/inet.h> |
#endif | | #endif |
| | |
| | #include <loader.h> |
#include <newserver.h> | | #include <newserver.h> |
| | |
/***************************************************************************** | | /***************************************************************************** |
| | |
if (!init_sockets) fatal(OUT_OF_MEMORY); | | if (!init_sockets) fatal(OUT_OF_MEMORY); |
newsocknum = socket_info.allocated_sockets; | | newsocknum = socket_info.allocated_sockets; |
socket_info.allocated_sockets++; | | socket_info.allocated_sockets++; |
| | init_sockets[newsocknum].faces_sent = malloc(nrofpixmaps*sizeof(*init_sockets[newsocknum].faces_sent)); |
| | if (!init_sockets[newsocknum].faces_sent) fatal(OUT_OF_MEMORY); |
init_sockets[newsocknum].status = Ns_Avail; | | init_sockets[newsocknum].status = Ns_Avail; |
} | | } |
else { | | else { |