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 |
|
|
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 |
|
|
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 |
|
|
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)) |
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 |
|
|