X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=complete.c;h=77cc11718a01d548caa50400771efbf424906658;hp=b0c96cfa68e383ca1cf7e50603fd18b49f999043;hb=105e395f06e15f2c3878d856bc278dd2cf971794;hpb=25bf57d598476b329536fa3f748cc0c529fef6bd diff --git a/complete.c b/complete.c index b0c96cf..77cc117 100644 --- a/complete.c +++ b/complete.c @@ -21,6 +21,7 @@ #endif #include "lib/str.h" +#include "lib/debug.h" #include #include @@ -47,7 +48,7 @@ int mutt_complete (char *s, size_t slen) char imap_path[LONG_STRING]; #endif - dprint (2, (debugfile, "mutt_complete: completing %s\n", s)); + debug_print (2, ("completing %s\n", s)); #ifdef USE_NNTP if (option (OPTNEWS)) { @@ -167,9 +168,7 @@ int mutt_complete (char *s, size_t slen) } if (dirp == NULL) { - dprint (1, - (debugfile, "mutt_complete(): %s: %s (errno %d).\n", exp_dirpart, - strerror (errno), errno)); + debug_print (1, ("%s: %s (errno %d).\n", exp_dirpart, strerror (errno), errno)); return (-1); }