projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove most of the debug code: often makes the code unreadable, for little
[apps/madmutt.git]
/
lib-lib
/
buffer.c
diff --git
a/lib-lib/buffer.c
b/lib-lib/buffer.c
index
dccca24
..
0a506bb
100644
(file)
--- a/
lib-lib/buffer.c
+++ b/
lib-lib/buffer.c
@@
-35,7
+35,6
@@
#include "ascii.h"
#include "buffer.h"
#include "file.h"
#include "ascii.h"
#include "buffer.h"
#include "file.h"
-#include "debug.h"
#include "mutt.h"
#include "mutt.h"
@@
-207,13
+206,11
@@
int mutt_extract_token(BUFFER *dest, BUFFER *tok, int flags)
}
} while (pc && *pc != '`');
if (!pc) {
}
} while (pc && *pc != '`');
if (!pc) {
- debug_print (1, ("mismatched backtics\n"));
return (-1);
}
cmd = p_dupstr(tok->dptr, pc - tok->dptr);
if ((pid = mutt_create_filter(cmd, NULL, &fp, NULL)) < 0) {
return (-1);
}
cmd = p_dupstr(tok->dptr, pc - tok->dptr);
if ((pid = mutt_create_filter(cmd, NULL, &fp, NULL)) < 0) {
- debug_print(1, ("unable to fork command: %s\n", cmd));
p_delete(&cmd);
return -1;
}
p_delete(&cmd);
return -1;
}