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

Comparing ircd-hybrid-8/modules/m_stats.c (file contents):
Revision 1375 by michael, Thu Apr 26 19:04:51 2012 UTC vs.
Revision 1376 by michael, Sun Apr 29 17:08:42 2012 UTC

# Line 642 | Line 642 | stats_deny(struct Client *source_p)
642  
643    for (i = 0; i < ATABLE_SIZE; ++i)
644    {
645    ptr = NULL;
646
645      DLINK_FOREACH(ptr, atable[i].head)
646      {
647        struct AddressRec *arec = ptr->data;
# Line 683 | Line 681 | stats_tdeny(struct Client *source_p)
681  
682    for (i = 0; i < ATABLE_SIZE; ++i)
683    {
686    ptr = NULL;
687
684      DLINK_FOREACH(ptr, atable[i].head)
685      {
686        struct AddressRec *arec = ptr->data;
# Line 731 | Line 727 | stats_exempt(struct Client *source_p)
727  
728    for (i = 0; i < ATABLE_SIZE; ++i)
729    {
734    ptr = NULL;
735
730      DLINK_FOREACH(ptr, atable[i].head)
731      {
732        struct AddressRec *arec = ptr->data;
# Line 867 | Line 861 | stats_glines(struct Client *source_p)
861  
862    for (i = 0; i < ATABLE_SIZE; ++i)
863    {
870    ptr = NULL;
871
864      DLINK_FOREACH(ptr, atable[i].head)
865      {
866 <      struct AddressRec *arec = ptr->data;
866 >      const struct AddressRec *arec = ptr->data;
867  
868        if (arec->type == CONF_GLINE)
869        {
# Line 967 | Line 959 | report_auth(struct Client *client_p)
959  
960    for (i = 0; i < ATABLE_SIZE; ++i)
961    {
970    ptr = NULL;
971
962      DLINK_FOREACH(ptr, atable[i].head)
963      {
964        struct AddressRec *arec = ptr->data;
# Line 1069 | Line 1059 | report_Klines(struct Client *client_p, i
1059  
1060    for (i = 0; i < ATABLE_SIZE; ++i)
1061    {
1072    ptr = NULL;
1073
1062      DLINK_FOREACH(ptr, atable[i].head)
1063      {
1064        struct AddressRec *arec = ptr->data;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines