/[svn]/ircd-hybrid-7.2/src/irc_res.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/irc_res.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 996 by michael, Fri Aug 21 10:11:14 2009 UTC revision 997 by michael, Fri Aug 21 10:25:40 2009 UTC
# Line 309  make_request(dns_callback_fnc callback, Line 309  make_request(dns_callback_fnc callback,
309  void  void
310  delete_resolver_queries(const void *vptr)  delete_resolver_queries(const void *vptr)
311  {  {
312    dlink_node *ptr;    dlink_node *ptr = NULL, *next_ptr = NULL;
   dlink_node *next_ptr;  
   struct reslist *request;  
313    
314    DLINK_FOREACH_SAFE(ptr, next_ptr, request_list.head)    DLINK_FOREACH_SAFE(ptr, next_ptr, request_list.head)
315    {    {
316      if ((request = ptr->data) != NULL)      struct reslist *request = ptr->data;
317      {  
318        if (request->callback_ctx == vptr)      if (request->callback_ctx == vptr)
319          rem_request(request);        rem_request(request);
     }  
320    }    }
321  }  }
322    

Legend:
Removed from v.996  
changed lines
  Added in v.997

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28