projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
push some date functions in the lib-lib.
[apps/madmutt.git]
/
nntp
/
newsrc.c
diff --git
a/nntp/newsrc.c
b/nntp/newsrc.c
index
94585e7
..
fe774ad
100644
(file)
--- a/
nntp/newsrc.c
+++ b/
nntp/newsrc.c
@@
-18,15
+18,14
@@
#include <lib-lib/file.h>
#include <lib-lib/macros.h>
#include <lib-lib/file.h>
#include <lib-lib/macros.h>
+#include <lib-mime/mime.h>
+
#include "mutt.h"
#include "mutt_curses.h"
#include "sort.h"
#include "mx.h"
#include "mutt.h"
#include "mutt_curses.h"
#include "sort.h"
#include "mx.h"
-#include "mime.h"
#include "nntp.h"
#include "nntp.h"
-#include "rfc822.h"
#include "rfc1524.h"
#include "rfc1524.h"
-#include "rfc2047.h"
#include "lib/debug.h"
#include "lib/debug.h"
@@
-266,7
+265,7
@@
const char *nntp_format_str (char *dest, size_t destlen, char op,
switch (op) {
case 's':
m_strcpy(fn, sizeof (fn), NewsServer);
switch (op) {
case 's':
m_strcpy(fn, sizeof (fn), NewsServer);
-
str_tolower
(fn);
+
m_strtolower
(fn);
snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
snprintf (dest, destlen, tmp, fn);
break;
snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
snprintf (dest, destlen, tmp, fn);
break;