summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-08-15 21:34:00 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-08-15 21:34:00 +0200
commitc5704812b8de2f2f518b0389af533b519c56799b (patch)
tree37392d4788779cb4fb4d6f04d4f8c9f7e466183d /util.c
parent2758e22f8d24007061bd612d30b2a1156a9a2ca2 (diff)
downloadccache-c5704812b8de2f2f518b0389af533b519c56799b.tar.gz
Use true/false for boolean values
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 2ea31b40..34ecdcfe 100644
--- a/util.c
+++ b/util.c
@@ -1188,12 +1188,12 @@ bool
is_full_path(const char *path)
{
if (strchr(path, '/'))
- return 1;
+ return true;
#ifdef _WIN32
if (strchr(path, '\\'))
- return 1;
+ return true;
#endif
- return 0;
+ return false;
}
/*