Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not return OK if the config value is NULL
Julien Laffaye committed 14 years ago
commit ed0bdf6af1aabf8eb9115bc0a5064dc5bee6f4bb
parent 83a30a49c1a12b56ac91071f9954bf9c6a218204
1 file changed +3 -0
modified libpkg/pkg_config.c
@@ -170,6 +170,9 @@ pkg_config_string(pkg_config_key key, const char **val)
	if (*val == NULL)
		*val = c[key].def;

+
	if (*val == NULL)
+
		return (EPKG_FATAL);
+

	return (EPKG_OK);
}