X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcomplete.c;h=a06593bce4fe70c7b2278d15d114a18166aebdc2;hp=97f5b2db44a4f36bf7584da6122959b0c202837a;hb=546a6855b7d44c415cb397e3a62f6a854132a0dd;hpb=8476307969a605bea67f6b702b0c1e7a52038bed diff --git a/lib-ui/complete.c b/lib-ui/complete.c index 97f5b2d..a06593b 100644 --- a/lib-ui/complete.c +++ b/lib-ui/complete.c @@ -14,7 +14,7 @@ #include "curses.h" #include #ifdef USE_NNTP -#include +#include "nntp.h" #endif /* given a partial pathname, this routine fills in as much of the rest of the @@ -78,7 +78,7 @@ int mutt_complete (char *s, ssize_t slen) } } - strcpy (s, filepart); + m_strcpy(s, slen, filepart); return (init ? 0 : -1); }