diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-20 17:43:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-20 17:43:55 +0000 |
commit | 5364833be0f5c7fd3619ab140830194b1f7844a9 (patch) | |
tree | 3d6c2980943852c319bed6d3863e5844e00fcbbe /src/or/config.c | |
parent | bc26f28865da1e95fa89a2d26314ae0fd1ef27e3 (diff) | |
download | tor-5364833be0f5c7fd3619ab140830194b1f7844a9.tar.gz tor-5364833be0f5c7fd3619ab140830194b1f7844a9.zip |
r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400
Address points in r10227.
svn:r10229
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0e3cffae82..51610e777d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3119,9 +3119,7 @@ options_init_from_torrc(int argc, char **argv) if (argc > 1 && (!strcmp(argv[1],"--version"))) { char vbuf[128]; - // XXX020 below, tor_svn_revision will always be defined, right? - // So we can take out that check? Also in router.c. -RD - if (tor_svn_revision != NULL && strlen(tor_svn_revision)) { + if (strlen(tor_svn_revision)) { tor_snprintf(vbuf, sizeof(vbuf), " (r%s)", tor_svn_revision); } else { vbuf[0] = 0; |