/[svn]/branches/newio/src/irc_res.c
ViewVC logotype

Diff of /branches/newio/src/irc_res.c

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

revision 2427 by michael, Sun Jul 28 17:18:24 2013 UTC revision 2428 by michael, Wed Jul 31 15:31:20 2013 UTC
# Line 190  check_resolver_timeout(time_t when) Line 190  check_resolver_timeout(time_t when)
190  static void  static void
191  timeout_resolver(struct Event *ev)  timeout_resolver(struct Event *ev)
192  {  {
193    dlink_node *ptr;    dlink_node *ptr = NULL, *next_ptr = NULL;
   dlink_node *next_ptr;  
194    struct reslist *request;    struct reslist *request;
195    time_t next_time = 0;    time_t next_time = 0;
196    time_t timeout   = 0;    time_t timeout   = 0;
197    
198      if (ev_type(ev) != ET_EXPIRE)
199        return;
200    
201    DLINK_FOREACH_SAFE(ptr, next_ptr, request_list.head)    DLINK_FOREACH_SAFE(ptr, next_ptr, request_list.head)
202    {    {
203      request = ptr->data;      request = ptr->data;

Legend:
Removed from v.2427  
changed lines
  Added in v.2428

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