--- embedaddon/sudo/common/atobool.c 2012/02/21 16:23:02 1.1.1.1 +++ embedaddon/sudo/common/atobool.c 2012/05/29 12:26:49 1.1.1.2 @@ -39,10 +39,13 @@ #endif /* HAVE_STRINGS_H */ #include "missing.h" +#include "sudo_debug.h" int atobool(const char *str) { + debug_decl(atobool, SUDO_DEBUG_UTIL) + switch (*str) { case '0': case '1': @@ -77,5 +80,5 @@ atobool(const char *str) return 0; break; } - return -1; + debug_return_int(-1); }