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

Comparing:
ircd-hybrid/src/irc_res.c (file contents), Revision 31 by knight, Sun Oct 2 20:34:05 2005 UTC vs.
ircd-hybrid-7.2/src/irc_res.c (file contents), Revision 155 by db, Tue Oct 18 02:54:54 2005 UTC

# Line 808 | Line 808 | res_readreply(fde_t *fd, void *data)
808    if ((header->rcode != NO_ERRORS) || (header->ancount == 0))
809    {
810      if (SERVFAIL == header->rcode)
811 <      resend_query(request);
811 >    {
812 >      /*
813 >       * If a bad error was returned, we stop here and dont send
814 >       * send any more (no retries granted).
815 >       */
816 >      (*request->query->callback)(request->query->ptr, NULL);
817 >      rem_request(request);
818 >    }
819      else
820      {
821        /*
# Line 830 | Line 837 | res_readreply(fde_t *fd, void *data)
837          request->retries--;
838          resend_query(request);
839        }
833      else
840   #endif
835      {
836        /*
837         * If a bad error was returned, we stop here and dont send
838         * send any more (no retries granted).
839         */
840        (*request->query->callback)(request->query->ptr, NULL);
841        rem_request(request);
842      }
841      }
842  
843      return;

Comparing:
ircd-hybrid/src/irc_res.c (property svn:keywords), Revision 31 by knight, Sun Oct 2 20:34:05 2005 UTC vs.
ircd-hybrid-7.2/src/irc_res.c (property svn:keywords), Revision 155 by db, Tue Oct 18 02:54:54 2005 UTC

# Line 1 | Line 1
1 < "Id Revision"
1 > Id Revision

Diff Legend

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