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


version 1.6 version 1.7
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_loop_c =   * static char *rcsid_loop_c =
  *    "$Id: loop.c,v 1.6 2000/12/17 07:26:40 cvs Exp $";   *    "$Id: loop.c,v 1.7 2000/12/18 07:38:26 cvs Exp $";
  */   */
   
 /*  /*
Line 410
 
Line 410
   
     for(i=0;i<socket_info.allocated_sockets;i++) {      for(i=0;i<socket_info.allocated_sockets;i++) {
  if (init_sockets[i].status == Ns_Dead) {   if (init_sockets[i].status == Ns_Dead) {
      int j;  
   
      free_newsocket(&init_sockets[i]);       free_newsocket(&init_sockets[i]);
      init_sockets[i].status = Ns_Avail;       init_sockets[i].status = Ns_Avail;
      socket_info.nconns--;       socket_info.nconns--;
Line 505
 
Line 503
     if (pollret) for(i=1;i<socket_info.allocated_sockets;i++) {      if (pollret) for(i=1;i<socket_info.allocated_sockets;i++) {
  if (init_sockets[i].status == Ns_Avail) continue;   if (init_sockets[i].status == Ns_Avail) continue;
  if (FD_ISSET(init_sockets[i].fd,&tmp_exceptions)) {   if (FD_ISSET(init_sockets[i].fd,&tmp_exceptions)) {
      int j;  
   
      free_newsocket(&init_sockets[i]);       free_newsocket(&init_sockets[i]);
      init_sockets[i].status = Ns_Avail;       init_sockets[i].status = Ns_Avail;
      socket_info.nconns--;       socket_info.nconns--;


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

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