projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exit str_cmp enters m_strcmp
[apps/madmutt.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index
1f7bac0
..
5457e65
100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-15,9
+15,9
@@
#include <lib-lib/str.h>
#include <lib-lib/ascii.h>
#include <lib-lib/macros.h>
#include <lib-lib/str.h>
#include <lib-lib/ascii.h>
#include <lib-lib/macros.h>
+#include <lib-lib/buffer.h>
#include "mutt.h"
#include "mutt.h"
-#include "buffer.h"
#include "enter.h"
#include "recvattach.h"
#include "mx.h"
#include "enter.h"
#include "recvattach.h"
#include "mx.h"
@@
-612,7
+612,7
@@
BODY *mutt_parse_multipart (FILE * fp, const char *boundary, off_t end_off,
buffer[i] = 0;
/* Check for the end boundary */
buffer[i] = 0;
/* Check for the end boundary */
- if (
str_cmp
(buffer + blen + 2, "--") == 0) {
+ if (
m_strcmp
(buffer + blen + 2, "--") == 0) {
final = 1;
break; /* done parsing */
}
final = 1;
break; /* done parsing */
}
@@
-805,7
+805,7
@@
time_t mutt_parse_date (const char *s, HEADER * h)
t = scratch;
SKIPWS (t);
t = scratch;
SKIPWS (t);
-
memset (&tm, 0, sizeof (tm)
);
+
p_clear(&tm, 1
);
while ((t = strtok (t, " \t")) != NULL) {
switch (count) {
while ((t = strtok (t, " \t")) != NULL) {
switch (count) {