projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move buffer.[hc] into lib-lib/
[apps/madmutt.git]
/
score.c
diff --git
a/score.c
b/score.c
index
7959d4c
..
7d04fb4
100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-13,10
+13,10
@@
#include <lib-lib/mem.h>
#include <lib-lib/macros.h>
#include <lib-lib/mem.h>
#include <lib-lib/macros.h>
+#include <lib-lib/buffer.h>
#include "mutt.h"
#include "sort.h"
#include "mutt.h"
#include "sort.h"
-#include "buffer.h"
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
@@
-68,7
+68,7
@@
int mutt_parse_score (BUFFER * buf, BUFFER * s, unsigned long data,
return (-1);
}
pattern = buf->data;
return (-1);
}
pattern = buf->data;
-
memset (buf, 0, sizeof (BUFFER)
);
+
p_clear(buf, 1
);
mutt_extract_token (buf, s, 0);
if (MoreArgs (s)) {
p_delete(&pattern);
mutt_extract_token (buf, s, 0);
if (MoreArgs (s)) {
p_delete(&pattern);