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

Comparing ircd-hybrid-7.2/src/s_auth.c (file contents):
Revision 696 by michael, Wed Jun 21 07:52:16 2006 UTC vs.
Revision 896 by michael, Sat Nov 3 08:54:09 2007 UTC

# Line 50 | Line 50
50   #include "irc_res.h"
51   #include "s_bsd.h"
52   #include "s_log.h"
53 #include "s_stats.h"
53   #include "send.h"
54   #include "memory.h"
55  
# Line 228 | Line 227 | auth_dns_callback(void *vptr, struct DNS
227   static void
228   auth_error(struct AuthRequest *auth)
229   {
230 <  ++ServerStats->is_abad;
230 >  ++ServerStats.is_abad;
231  
232    fd_close(&auth->fd);
233  
# Line 271 | Line 270 | start_auth_query(struct AuthRequest *aut
270          get_client_name(auth->client, SHOW_IP), errno);
271      ilog(L_ERROR, "Unable to create auth socket for %s",
272          get_client_name(auth->client, SHOW_IP));
273 <    ++ServerStats->is_abad;
273 >    ++ServerStats.is_abad;
274      return 0;
275    }
276  
# Line 434 | Line 433 | timeout_auth_queries_event(void *notused
433      {
434        fd_close(&auth->fd);
435  
436 <      ++ServerStats->is_abad;
436 >      ++ServerStats.is_abad;
437        sendheader(auth->client, REPORT_FAIL_ID);
438  
439        if (IsDNSPending(auth))
# Line 613 | Line 612 | read_auth_reply(fde_t *fd, void *data)
612    if (s == NULL)
613    {
614      sendheader(auth->client, REPORT_FAIL_ID);
615 <    ++ServerStats->is_abad;
615 >    ++ServerStats.is_abad;
616    }
617    else
618    {
619      sendheader(auth->client, REPORT_FIN_ID);
620 <    ++ServerStats->is_asuc;
620 >    ++ServerStats.is_asuc;
621      SetGotId(auth->client);
622    }
623  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)