version 1.32 | | version 1.33 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.32 2005/10/24 22:51:03 akirschbaum Exp $"; | | * "$Id: loop.c,v 1.33 2005/10/28 18:19:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
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_len = nrofpixmaps; |
init_sockets[newsocknum].faces_sent = malloc(nrofpixmaps*sizeof(*init_sockets[newsocknum].faces_sent)); | | init_sockets[newsocknum].faces_sent = malloc(nrofpixmaps*sizeof(*init_sockets[newsocknum].faces_sent)); |
if (!init_sockets[newsocknum].faces_sent) fatal(OUT_OF_MEMORY); | | if (!init_sockets[newsocknum].faces_sent) fatal(OUT_OF_MEMORY); |
init_sockets[newsocknum].status = Ns_Avail; | | init_sockets[newsocknum].status = Ns_Avail; |