diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-07 15:47:00 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-05-31 17:39:04 +0200 |
commit | 79d5c4f06b8d086d65cec30347560880815fa933 (patch) | |
tree | 6bebc2c1a0a56778b2686c9cc58d728464db8c87 /src/libstrongswan/plugins/plugin_loader.c | |
parent | 060b508e0e24425b9bba8d2cda1e672e636f3262 (diff) | |
download | strongswan-79d5c4f06b8d086d65cec30347560880815fa933.tar.bz2 strongswan-79d5c4f06b8d086d65cec30347560880815fa933.tar.xz |
Fixed return values of several functions (e.g. return FALSE for pointer types).
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.c')
-rw-r--r-- | src/libstrongswan/plugins/plugin_loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index de5ce249a..aabeb1f86 100644 --- a/src/libstrongswan/plugins/plugin_loader.c +++ b/src/libstrongswan/plugins/plugin_loader.c @@ -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) { |