X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=query.c;h=570ef0757055c87cfa7f90dad0a5192ae8be3af2;hp=9390bcf05b994793b94752c06d4ce3c26e30ab25;hb=c250cb62b8094f86aaac9830348d8d1ada8c801c;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/query.c b/query.c index 9390bcf..570ef07 100644 --- a/query.c +++ b/query.c @@ -20,6 +20,7 @@ #include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" +#include "lib/debug.h" #include #include @@ -85,7 +86,7 @@ static QUERY *run_query (char *s, int quiet) mutt_expand_file_fmt (cmd, sizeof (cmd), QueryCmd, s); if ((thepid = mutt_create_filter (cmd, NULL, &fp, NULL)) < 0) { - dprint (1, (debugfile, "unable to fork command: %s", cmd)); + debug_print (1, ("unable to fork command: %s\n", cmd)); return 0; } if (!quiet) @@ -128,7 +129,7 @@ static QUERY *run_query (char *s, int quiet) FREE (&buf); fclose (fp); if (mutt_wait_filter (thepid)) { - dprint (1, (debugfile, "Error: %s\n", msg)); + debug_print (1, ("Error: %s\n", msg)); if (!quiet) mutt_error ("%s", msg); }