ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.2/src/s_auth.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_auth.c (file contents):
Revision 1000 by michael, Mon Aug 24 13:37:39 2009 UTC vs.
Revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC

# Line 525 | Line 525 | read_auth_reply(fde_t *fd, void *data)
525     *
526     *    --nenolod
527     */
528 #ifndef _WIN32
528    len = read(fd->fd, buf, AUTH_BUFSIZ);
529 < #else
531 <  len = recv(fd->fd, buf, AUTH_BUFSIZ, 0);
532 < #endif
533 <  
529 >
530    if (len < 0)
531    {
536 #ifdef _WIN32
537    errno = WSAGetLastError();
538 #endif
532      if (ignoreErrno(errno))
533        comm_setselect(fd, COMM_SELECT_READ, read_auth_reply, auth, 0);
534      else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines