X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=regex-src%2Fdebug.c;h=3663b7539e1c1a37b36c323d46daacac2f0a8713;hb=5dface998916896fca0182a4c52a78877a691f5f;hp=d4736827d79289b02b80a32af32446ad8338605f;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/regex-src/debug.c b/regex-src/debug.c index d473682..3663b75 100644 --- a/regex-src/debug.c +++ b/regex-src/debug.c @@ -1,9 +1,4 @@ -#include -#include -#include -#include -#include -#include +#include "amanda.h" #include #include "utils.h" @@ -235,8 +230,8 @@ int ch; static char buf[10]; if (isprint(ch) || ch == ' ') - ap_snprintf(buf, sizeof(buf), "%c", ch); + snprintf(buf, SIZEOF(buf), "%c", ch); else - ap_snprintf(buf, sizeof(buf), "\\%o", ch); + snprintf(buf, SIZEOF(buf), "\\%o", ch); return(buf); }