Difference for socket/lowlevel.c from version 1.16 to 1.17


version 1.16 version 1.17
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_sockets_c =   * static char *rcsid_sockets_c =
  *    "$Id: lowlevel.c,v 1.16 2006/05/21 10:35:11 akirschbaum Exp $";   *    "$Id: lowlevel.c,v 1.17 2006/09/02 14:25:19 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 145
 
Line 145
  LOG(llevDebug,"Connection closed by client\n");   LOG(llevDebug,"Connection closed by client\n");
  else   else
  {   {
  LOG(llevDebug,"ReadPacket got error %d, returning 0\n",WSAGetLastError());   LOG(llevDebug,"ReadPacket got error %d, returning -1\n",WSAGetLastError());
  }   }
  return -1; /* kick this user! */   return -1; /* kick this user! */
      }       }
 #else  #else
               if (errno == ECONNRESET) {
                       LOG(llevDebug, "ReadPacket got error %s, returning -1\n", strerror_local(errno));
                       return -1;
               }
  if (errno != EAGAIN && errno !=EWOULDBLOCK) {   if (errno != EAGAIN && errno !=EWOULDBLOCK) {
  LOG(llevDebug, "ReadPacket got error %s, returning 0\n", strerror_local(errno));   LOG(llevDebug, "ReadPacket got error %s, returning 0\n", strerror_local(errno));
      }       }
Line 200
 
Line 204
  LOG(llevDebug,"Connection closed by client\n");   LOG(llevDebug,"Connection closed by client\n");
  else   else
  {   {
  LOG(llevDebug,"ReadPacket got error %d, returning 0\n",WSAGetLastError());   LOG(llevDebug,"ReadPacket got error %d, returning -1\n",WSAGetLastError());
  }   }
  return -1; /* kick this user! */   return -1; /* kick this user! */
      }       }


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

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