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

Comparing ircd-hybrid/trunk/src/hostmask.c (file contents):
Revision 1632 by michael, Sun Nov 4 15:37:10 2012 UTC vs.
Revision 1644 by michael, Tue Nov 6 22:20:16 2012 UTC

# Line 717 | Line 717 | delete_one_address_conf(const char *addr
717      {
718        dlinkDelete(&arec->node, &atable[hv]);
719  
720 <      if (!conf->clients)
720 >      if (!conf->ref_count)
721          conf_free(conf);
722  
723        MyFree(arec);
# Line 754 | Line 754 | clear_out_address_conf(void)
754  
755        dlinkDelete(&arec->node, &atable[i]);
756  
757 <      if (!arec->conf->clients)
757 >      if (!arec->conf->ref_count)
758          conf_free(arec->conf);
759        MyFree(arec);
760      }
# Line 780 | Line 780 | hostmask_send_expiration(struct AddressR
780      case CONF_GLINE:
781        ban_type = 'G';
782        break;
783 +    default: break;
784    }
785    
786    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
# Line 814 | Line 815 | hostmask_expire_temporary(void)
815            conf_free(arec->conf);
816            MyFree(arec);
817            break;
818 +        default: break;
819        }
820      }
821    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines