summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-08-17 16:05:09 -0400
committerNick Mathewson <nickm@torproject.org>2012-08-17 16:05:09 -0400
commit1c64f99a1a74cac4074ddefa958fd4ae7acddcb2 (patch)
treed47ca63f67fe817a7a87fe77f88976aa8908753b /src/or/dirserv.c
parent63dfc1d9b6e6d488f32c99c3ffad882f6fbe0f51 (diff)
parente13e9c40c829d15fb71310b0638fff859b85580a (diff)
downloadtor-1c64f99a1a74cac4074ddefa958fd4ae7acddcb2.tar.gz
tor-1c64f99a1a74cac4074ddefa958fd4ae7acddcb2.zip
Merge remote-tracking branch 'public/bug5124'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 90b81015f4..041e525fc3 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2129,7 +2129,7 @@ routerstatus_format_entry(char *buf, size_t buf_len,
/* length of "opt v \n" */
#define V_LINE_OVERHEAD 7
if (version && strlen(version) < MAX_V_LINE_LEN - V_LINE_OVERHEAD) {
- if (tor_snprintf(cp, buf_len - (cp-buf), "opt v %s\n", version)<0) {
+ if (tor_snprintf(cp, buf_len - (cp-buf), "v %s\n", version)<0) {
log_warn(LD_BUG, "Unable to print router version.");
return -1;
}