Difference for socket/loop.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_loop_c =   * static char *rcsid_loop_c =
  *    "$Id: loop.c,v 1.15 2001/08/29 15:45:22 reeve Exp $";   *    "$Id: loop.c,v 1.16 2001/10/30 00:49:03 michtoen Exp $";
  */   */
   
 /*  /*
Line 384
 
Line 384
      cycles=0;       cycles=0;
  }   }
  FD_ZERO(&readfs);   FD_ZERO(&readfs);
  FD_SET(init_sockets[0].fd, &readfs);   FD_SET((uint32)init_sockets[0].fd, &readfs);
  Timeout.tv_sec=60;   Timeout.tv_sec=60;
  Timeout.tv_usec=0;   Timeout.tv_usec=0;
 #ifdef WATCHDOG  #ifdef WATCHDOG
Line 426
 
Line 426
      init_sockets[i].status = Ns_Avail;       init_sockets[i].status = Ns_Avail;
      socket_info.nconns--;       socket_info.nconns--;
  } else if (init_sockets[i].status != Ns_Avail){   } else if (init_sockets[i].status != Ns_Avail){
      FD_SET(init_sockets[i].fd, &tmp_read);       FD_SET((uint32)init_sockets[i].fd, &tmp_read);
      FD_SET(init_sockets[i].fd, &tmp_write);       FD_SET((uint32)init_sockets[i].fd, &tmp_write);
      FD_SET(init_sockets[i].fd, &tmp_exceptions);       FD_SET((uint32)init_sockets[i].fd, &tmp_exceptions);
  }   }
     }      }
   
Line 449
 
Line 449
      pl=npl;       pl=npl;
  }   }
  else {   else {
      FD_SET(pl->socket.fd, &tmp_read);       FD_SET((uint32)pl->socket.fd, &tmp_read);
      FD_SET(pl->socket.fd, &tmp_write);       FD_SET((uint32)pl->socket.fd, &tmp_write);
      FD_SET(pl->socket.fd, &tmp_exceptions);       FD_SET((uint32)pl->socket.fd, &tmp_exceptions);
      pl=pl->next;       pl=pl->next;
  }   }
     }      }


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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