Commit 2e1ed081 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Actually set *expires_out in addressmap_rewrite.

Fixes 14193; bugfix on 35d08e30, which went into 0.2.3.17-beta.
parent bba995e6
Loading
Loading
Loading
Loading

changes/bug14193

0 → 100644
+4 −0
Original line number Diff line number Diff line
  o Minor bugfixes (client DNS):
    - Report the correct cached DNS expiration times. Previously, we
      would report everything as "never expires."  Fixes bug 14193;
      bugfix on 0.2.3.17-beta.
+1 −1
Original line number Diff line number Diff line
@@ -431,7 +431,7 @@ addressmap_rewrite(char *address, size_t maxlen,
  if (exit_source_out)
    *exit_source_out = exit_source;
  if (expires_out)
    *expires_out = TIME_MAX;
    *expires_out = expires;
  return (rewrites > 0);
}