diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-09 21:26:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-09 21:26:34 +0000 |
commit | 655859f76b237d3156cb0a77f5e56a77ef28fa17 (patch) | |
tree | b5c5fe3f87c5c9478d29be70b1b878de5c043b7b /src/or/circuitbuild.c | |
parent | 86263acf95c19dea5ef0f2b61334cbc8889e8ab6 (diff) | |
download | tor-655859f76b237d3156cb0a77f5e56a77ef28fa17.tar.gz tor-655859f76b237d3156cb0a77f5e56a77ef28fa17.zip |
When reporting verbose nicknames in entry_guards_getinfo(), avoid
printing a duplicate "$" in the keys we send. (Reported by mwenge)
svn:r8681
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 9a9ca59b17..878c20f254 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2481,9 +2481,9 @@ entry_guards_getinfo(int use_long_names, const char *question, char **answer) } if (when) { format_iso_time(tbuf, when); - tor_snprintf(c, len, "$%s %s %s\n", nbuf, status, tbuf); + tor_snprintf(c, len, "%s %s %s\n", nbuf, status, tbuf); } else { - tor_snprintf(c, len, "$%s %s\n", nbuf, status); + tor_snprintf(c, len, "%s %s\n", nbuf, status); } smartlist_add(sl, c); }); |