* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <lib-lib/mem.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/buffer.h>
+#include <lib-lib/lib-lib.h>
#include "mutt.h"
#include "sort.h"
-#include <string.h>
-#include <stdlib.h>
-
typedef struct score_t {
char *str;
pattern_t *pat;
mutt_extract_token (buf, s, 0);
if (!MoreArgs (s)) {
- strfcpy (err->data, _("score: too few arguments"), err->dsize);
+ m_strcpy(err->data, err->dsize, _("score: too few arguments"));
return (-1);
}
pattern = buf->data;
mutt_extract_token (buf, s, 0);
if (MoreArgs (s)) {
p_delete(&pattern);
- strfcpy (err->data, _("score: too many arguments"), err->dsize);
+ m_strcpy(err->data, err->dsize, _("score: too many arguments"));
return (-1);
}