#include "sort.h"
#include "nntp.h"
#include "buffy.h"
-
-#include <lib-crypt/crypt.h>
+#include "crypt.h"
#define WANT_LISTGROUP_COMMAND 0
* -2 - invalid command or execution error,
* -3 - error in funct(*line, *data).
*/
-static int mutt_nntp_fetch (NNTP_DATA * nntp_data, const char *query, char *msg,
- progress_t* bar, int (*funct) (char *, void *),
+static int mutt_nntp_fetch (NNTP_DATA * nntp_data, const char *query,
+ const char *msg, progress_t* bar,
+ int (*funct) (char *, void *),
void *data, int tagged)
{
char buf[LONG_STRING];
unsigned int last)
{
char buf[HUGE_STRING];
- char *msg = _("Fetching message headers...");
- char *msg2 = _("Fetching headers from cache...");
+ const char *msg = _("Fetching message headers...");
+ const char *msg2 = _("Fetching headers from cache...");
NNTP_DATA *nntp_data = ((NNTP_DATA *) ctx->data);
int ret;
int num;