From: Joel Rosdahl Date: Sun, 8 Apr 2012 15:20:06 +0000 (+0200) Subject: config: Compare with NULL in parse_env_string to please IRIX's compiler X-Git-Tag: v3.2~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95961190651b185e4bfcd44dc69f587be2cdfc26;p=thirdparty%2Fccache.git config: Compare with NULL in parse_env_string to please IRIX's compiler --- diff --git a/conf.c b/conf.c index 24558cb91..6c248534e 100644 --- a/conf.c +++ b/conf.c @@ -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; + return *value != NULL; } static bool