summaryrefslogtreecommitdiff
path: root/conf.c
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2013-12-08 10:10:39 +0100
committerJoel Rosdahl <joel@rosdahl.net>2014-01-01 20:40:13 +0100
commitb08fc595b03676b0da807498e034588e08030a99 (patch)
treebd9b5f3ce03c7a260ea042dbd381eeed9c244cfd /conf.c
parent983b69e77ec83aa6214ad465bf6e9a1bb9c05dad (diff)
downloadccache-b08fc595b03676b0da807498e034588e08030a99.tar.gz
Minor coding style tweaks
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index 1b1b2b7c..b49ba3c8 100644
--- a/conf.c
+++ b/conf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2012 Joel Rosdahl
+ * Copyright (C) 2011-2013 Joel Rosdahl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@@ -58,7 +58,7 @@ parse_env_string(const char *str, void *result, char **errmsg)
char **value = (char **)result;
free(*value);
*value = subst_env_in_string(str, errmsg);
- return *value != NULL;
+ return *value;
}
static bool