diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-08-17 16:05:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-08-17 16:05:09 -0400 |
commit | 1c64f99a1a74cac4074ddefa958fd4ae7acddcb2 (patch) | |
tree | d47ca63f67fe817a7a87fe77f88976aa8908753b /src/or/dirserv.c | |
parent | 63dfc1d9b6e6d488f32c99c3ffad882f6fbe0f51 (diff) | |
parent | e13e9c40c829d15fb71310b0638fff859b85580a (diff) | |
download | tor-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.c | 2 |
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; } |