/[svn]/ircd-hybrid-7.2/src/s_auth.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_auth.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1000 by michael, Mon Aug 24 13:37:39 2009 UTC revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC
# Line 525  read_auth_reply(fde_t *fd, void *data) Line 525  read_auth_reply(fde_t *fd, void *data)
525     *     *
526     *    --nenolod     *    --nenolod
527     */     */
 #ifndef _WIN32  
528    len = read(fd->fd, buf, AUTH_BUFSIZ);    len = read(fd->fd, buf, AUTH_BUFSIZ);
529  #else  
   len = recv(fd->fd, buf, AUTH_BUFSIZ, 0);  
 #endif  
     
530    if (len < 0)    if (len < 0)
531    {    {
 #ifdef _WIN32  
     errno = WSAGetLastError();  
 #endif  
532      if (ignoreErrno(errno))      if (ignoreErrno(errno))
533        comm_setselect(fd, COMM_SELECT_READ, read_auth_reply, auth, 0);        comm_setselect(fd, COMM_SELECT_READ, read_auth_reply, auth, 0);
534      else      else

Legend:
Removed from v.1000  
changed lines
  Added in v.1001

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28