summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-22 22:50:17 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-22 22:50:17 +0000
commitfe32c2d1412e7a3906fa4f0ae0f99f12de5b882b (patch)
treed759a2f24234879d3f4b1da5851a714b4eaf73a7 /src/or/config.c
parentd4754b334c1780db1dff77c96c68e2f6883a44b3 (diff)
downloadtor-fe32c2d1412e7a3906fa4f0ae0f99f12de5b882b.tar.gz
tor-fe32c2d1412e7a3906fa4f0ae0f99f12de5b882b.zip
Fix sign-related warnings
svn:r2942
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 8c578813a2..21321796e5 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2328,10 +2328,6 @@ config_parse_interval(const char *s, int *ok) {
log_fn(LOG_WARN, "Interval '%s' is too long", s);
*ok = 0;
return -1;
- } else if (r<0) {
- log_fn(LOG_WARN, "Interval '%s' is negative", s);
- *ok = 0;
- return -1;
}
return (int)r;
}