/[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 155 by db, Tue Oct 18 02:54:54 2005 UTC revision 169 by michael, Fri Oct 21 09:37:16 2005 UTC
# Line 320  make_request(struct DNSQuery* query) Line 320  make_request(struct DNSQuery* query)
320    struct reslist *request;    struct reslist *request;
321    
322    request = (struct reslist *)MyMalloc(sizeof(struct reslist));    request = (struct reslist *)MyMalloc(sizeof(struct reslist));
   memset(request, 0, sizeof(struct reslist));  
323    
324    request->sentat  = CurrentTime;    request->sentat  = CurrentTime;
325    request->retries = 3;    request->retries = 3;
326    request->resend  = 1;    request->resend  = 1;
327    request->timeout = 4;    /* start at 4 and exponential inc. */    request->timeout = 4;    /* start at 4 and exponential inc. */
   memset(&request->addr, 0, sizeof(request->addr));  
328    request->query   = query;    request->query   = query;
329    request->state   = REQ_IDLE;    request->state   = REQ_IDLE;
330    

Legend:
Removed from v.155  
changed lines
  Added in v.169

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