]> granicus.if.org Git - sudo/commitdiff
sudo_check_plugin() returns bool.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 May 2015 17:05:05 +0000 (11:05 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 May 2015 17:05:05 +0000 (11:05 -0600)
src/load_plugins.c

index 7ad43c57762e496667711ae0a2a46d61d8264e1c..91b4be89429f34d5bafecbf03dfff34ff8298e86 100644 (file)
@@ -135,7 +135,7 @@ static bool
 sudo_check_plugin(struct plugin_info *info, char *fullpath, size_t pathsize)
 {
     struct stat sb;
-    int rval = false;
+    bool rval = false;
     debug_decl(sudo_check_plugin, SUDO_DEBUG_PLUGIN)
 
     if (sudo_stat_plugin(info, fullpath, pathsize, &sb) != 0) {