Add support for multiple Debug lines per program. Callers may

register arbitrary debug facilities or use built-in defaults.  We
now use separate Debug statements for plugins and programs.
This commit is contained in:
Todd C. Miller
2014-10-22 13:23:05 -06:00
parent a7e724b75d
commit 866cfc4fc3
100 changed files with 1509 additions and 949 deletions

View File

@@ -46,7 +46,7 @@ sudo_strtomode_v1(const char *cp, const char **errstr)
{
char *ep;
long lval;
debug_decl(sudo_strtomode, SUDO_DEBUG_UTIL)
debug_decl(sudo_strtomode, SUDO_DEBUG_UTIL, SUDO_DEBUG_INSTANCE_DEFAULT)
errno = 0;
lval = strtol(cp, &ep, 8);