Difference for socket/loop.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_loop_c =   * static char *rcsid_loop_c =
  *    "$Id: loop.c,v 1.29 2005/06/23 05:18:38 mwedel Exp $";   *    "$Id: loop.c,v 1.30 2005/09/04 16:58:13 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 193
 
Line 193
   
  if (stat<0 && errno != EAGAIN && errno !=EWOULDBLOCK) {   if (stat<0 && errno != EAGAIN && errno !=EWOULDBLOCK) {
 #endif   #endif
      perror("Handle_Oldsocket got an error.");       LOG(llevError, "Cannot read from socket: %s\n", strerror_local(errno));
      ns->status = Ns_Dead;       ns->status = Ns_Dead;
      return;       return;
  }   }
Line 562
 
Line 562
      &tmp_exceptions, &socket_info.timeout);       &tmp_exceptions, &socket_info.timeout);
   
     if (pollret==-1) {      if (pollret==-1) {
  perror("doeric_server: error on select");   LOG(llevError, "select failed: %s\n", strerror_local(errno));
  LOG(llevError,"doeric_server: error on select\n");  
  return;   return;
     }      }
   
Line 596
 
Line 595
  }   }
  init_sockets[newsocknum].fd=accept(init_sockets[0].fd, (struct sockaddr *)&addr, &addrlen);   init_sockets[newsocknum].fd=accept(init_sockets[0].fd, (struct sockaddr *)&addr, &addrlen);
  if (init_sockets[newsocknum].fd==-1) {   if (init_sockets[newsocknum].fd==-1) {
      perror("doeric_server: error on accept");       LOG(llevError, "accept failed: %s\n", strerror_local(errno));
      LOG(llevError,"doeric_server: error on accept\n");  
  }   }
  else {   else {
      InitConnection(&init_sockets[newsocknum],ntohl(addr.sin_addr.s_addr));       InitConnection(&init_sockets[newsocknum],ntohl(addr.sin_addr.s_addr));


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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