Fixed return values of several functions (e.g. return FALSE for pointer types).
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user