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

Comparing ircd-hybrid/trunk/src/send.c (file contents):
Revision 3573 by michael, Fri May 16 17:09:50 2014 UTC vs.
Revision 3803 by michael, Tue Jun 3 18:24:31 2014 UTC

# Line 772 | Line 772 | sendto_match_servs(struct Client *source
772                     const char *pattern, ...)
773   {
774    va_list args;
775 <  dlink_node *ptr = NULL;
775 >  dlink_node *ptr = NULL, *ptr_next = NULL;
776    struct dbuf_block *buff_suid;
777  
778    buff_suid = dbuf_alloc();
# Line 784 | Line 784 | sendto_match_servs(struct Client *source
784  
785    ++current_serial;
786  
787 <  DLINK_FOREACH(ptr, global_serv_list.head)
787 >  DLINK_FOREACH_SAFE(ptr, ptr_next, global_serv_list.head)
788    {
789      struct Client *target_p = ptr->data;
790  

Diff Legend

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