/[svn]/ircd-hybrid/trunk/src/auth.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/auth.c

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

revision 8896 by michael, Sun Apr 21 14:29:36 2019 UTC revision 8897 by michael, Sun Apr 21 14:52:03 2019 UTC
# Line 329  auth_read_reply(fde_t *F, void *data) Line 329  auth_read_reply(fde_t *F, void *data)
329    assert(auth->client);    assert(auth->client);
330    assert(auth->client->connection);    assert(auth->client->connection);
331    
332    if ((len = recv(auth->fd->fd, buf, sizeof(buf) - 1, 0)) > 0)    if (F->read_handler == NULL && (len = recv(auth->fd->fd, buf, sizeof(buf) - 1, 0)) > 0)
333    {    {
334      buf[len] = '\0';      buf[len] = '\0';
335      username = auth_check_ident_reply(buf);      username = auth_check_ident_reply(buf);
# Line 411  auth_connect_callback(fde_t *F, int erro Line 411  auth_connect_callback(fde_t *F, int erro
411      return;      return;
412    }    }
413    
414    comm_setselect(F, COMM_SELECT_READ, auth_read_reply, auth, 0);    comm_setselect(F, COMM_SELECT_READ, auth_read_reply, auth, 3);
415  }  }
416    
417  /*! \brief Flag the client to show an attempt to contact the ident server on  /*! \brief Flag the client to show an attempt to contact the ident server on

Legend:
Removed from v.8896  
changed lines
  Added in v.8897

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