projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop str_[n]cat.
[apps/madmutt.git]
/
imap
/
message.c
diff --git
a/imap/message.c
b/imap/message.c
index
7bc797f
..
c6db226
100644
(file)
--- a/
imap/message.c
+++ b/
imap/message.c
@@
-20,9
+20,9
@@
#include <lib-lib/mem.h>
#include <lib-lib/ascii.h>
#include <lib-lib/str.h>
#include <lib-lib/mem.h>
#include <lib-lib/ascii.h>
#include <lib-lib/str.h>
+#include <lib-lib/buffer.h>
#include "mutt.h"
#include "mutt.h"
-#include "buffer.h"
#include "mutt_curses.h"
#include "imap_private.h"
#include "message.h"
#include "mutt_curses.h"
#include "imap_private.h"
#include "message.h"
@@
-34,6
+34,7
@@
#endif
#include <lib-lib/macros.h>
#endif
#include <lib-lib/macros.h>
+#include <lib-lib/file.h>
#include "lib/debug.h"
#if HAVE_STDINT_H
#include "lib/debug.h"
#if HAVE_STDINT_H
@@
-770,8
+771,8
@@
void imap_add_keywords (char *s, HEADER * h, LIST * mailbox_flags,
while (keywords) {
if (msg_has_flag (mailbox_flags, keywords->data)) {
while (keywords) {
if (msg_has_flag (mailbox_flags, keywords->data)) {
-
str_cat
(s, slen, keywords->data);
-
str_cat
(s, slen, " ");
+
m_strcat
(s, slen, keywords->data);
+
m_strcat
(s, slen, " ");
}
keywords = keywords->next;
}
}
keywords = keywords->next;
}