aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-15 21:17:42 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-15 21:17:42 +0000
commitbfdc366037690c74d1e6b73fc33e2f73842ed793 (patch)
treeeddffbfb10fcdcda6d2afd3bf17e4a9aaa2a8d54 /src/or/router.c
parentca32b4d5b51b95fac2b030874025ac4c19be8414 (diff)
downloadtor-bfdc366037690c74d1e6b73fc33e2f73842ed793.tar
tor-bfdc366037690c74d1e6b73fc33e2f73842ed793.tar.gz
r12763@catbus: nickm | 2007-05-15 05:29:33 -0400
Make --enable-gcc-warnings happy on the upcoming gcc 4.2 svn:r10195
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8937e0427..d510b9328 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1244,7 +1244,7 @@ get_platform_str(char *platform, size_t len)
{
char svn_version_buf[128];
if (!strcmpend(VERSION, "-dev") &&
- tor_svn_revision && strlen(tor_svn_revision)) {
+ tor_svn_revision != NULL && strlen(tor_svn_revision)) {
tor_snprintf(svn_version_buf, sizeof(svn_version_buf), " (r%s)",
tor_svn_revision);
} else {