aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-09-26 21:35:33 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commit744b510c21a38daaed6b3665645ca49e0de361bb (patch)
tree1fb7f6319414700c7f0101566767f13c6e69b5b3
parent96a223acb23fe37fcefa0ba2b0d10a2a37f33f0a (diff)
Whoops
-rw-r--r--src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c
index 70666f8e..ce5aa82e 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -25,7 +25,7 @@
int atob(const char *a)
{
if ( strcasecmp(a, "true") == 0 ) return 1;
- if ( strcasecmp(a, "false") == 0 ) return 1;
+ if ( strcasecmp(a, "false") == 0 ) return 0;
return atoi(a);
}