projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge all nntp code in nntp.c and move it toplevel
[apps/madmutt.git]
/
lib-ui
/
complete.c
diff --git
a/lib-ui/complete.c
b/lib-ui/complete.c
index
06e70c3
..
a06593b
100644
(file)
--- a/
lib-ui/complete.c
+++ b/
lib-ui/complete.c
@@
-7,23
+7,14
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <dirent.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-
#include <lib-lib/lib-lib.h>
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "mutt.h"
-#include "
mx
.h"
+#include "
curses
.h"
#include <imap/imap.h>
#ifdef USE_NNTP
#include <imap/imap.h>
#ifdef USE_NNTP
-#include
<nntp/nntp.h>
+#include
"nntp.h"
#endif
/* given a partial pathname, this routine fills in as much of the rest of the
#endif
/* given a partial pathname, this routine fills in as much of the rest of the
@@
-87,7
+78,7
@@
int mutt_complete (char *s, ssize_t slen)
}
}
}
}
-
strcpy (s
, filepart);
+
m_strcpy(s, slen
, filepart);
return (init ? 0 : -1);
}
return (init ? 0 : -1);
}