Commit 564028a0 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

r14472@tombo: nickm | 2008-02-26 13:44:08 -0500

 Backport trivial fix for problem that kept nameserver errors from getting reported.


svn:r13741
parent c9c7f3c8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ Changes in versino 0.1.2.20 - 2008-??-??
    - We were leaking a file descriptor if Tor started with a zero-length
      cached-descriptors file. Patch by freddy77.
    - Detect size overflow in zlib code.
    - Fix a pointer error that kept us from reporting nameserver errors.


Changes in version 0.1.2.19 - 2008-01-17
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ evdns_log_cb(int warn, const char *msg)
  }
  if (!strcmpstart(msg, "Nameserver ") && (cp=strstr(msg, " has failed: "))) {
    char *ns = tor_strndup(msg+11, cp-(msg+11));
    const char *err = strchr(cp, ':'+2);
    const char *err = strchr(cp, ':')+2;
    /* Don't warn about a single failed nameserver; we'll warn with 'all
     * nameservers have failed' if we're completely out of nameservers;
     * otherwise, the situation is tolerable. */