Fixed return values of several functions (e.g. return FALSE for pointer types).

This commit is contained in:
Tobias Brunner
2012-05-31 17:39:04 +02:00
parent 060b508e0e
commit 79d5c4f06b
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ METHOD(plugin_loader_t, load_plugins, bool,
if (snprintf(file, sizeof(file), "%s/libstrongswan-%s.so",
path, token) >= sizeof(file))
{
return NULL;
return FALSE;
}
if (!load_plugin(this, token, file) && critical)
{