Difference for socket/loop.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_loop_c =   * static char *rcsid_loop_c =
  *    "$Id: loop.c,v 1.7 2000/12/18 07:38:26 cvs Exp $";   *    "$Id: loop.c,v 1.8 2001/02/11 09:12:14 cvs Exp $";
  */   */
   
 /*  /*
Line 475
 
Line 475
  /* If this is the case, all sockets currently in used */   /* If this is the case, all sockets currently in used */
  if (socket_info.allocated_sockets <= socket_info.nconns) {   if (socket_info.allocated_sockets <= socket_info.nconns) {
      init_sockets = realloc(init_sockets,sizeof(NewSocket)*(socket_info.nconns+1));       init_sockets = realloc(init_sockets,sizeof(NewSocket)*(socket_info.nconns+1));
        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].status = Ns_Avail;       init_sockets[newsocknum].status = Ns_Avail;


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:36