From 5364833be0f5c7fd3619ab140830194b1f7844a9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 20 May 2007 17:43:55 +0000 Subject: r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400 Address points in r10227. svn:r10229 --- src/or/config.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/or/config.c') 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; -- cgit v1.2.3-54-g00ecf