force our cflags in subdirs as well.
[apps/madmutt.git] / nntp / nntp.c
index 526dd30..391d66e 100644 (file)
@@ -323,7 +323,7 @@ static int mutt_nntp_query (NNTP_DATA * data, char *line, size_t linelen)
  * -2 - invalid command or execution error,
  * -3 - error in funct(*line, *data).
  */
  * -2 - invalid command or execution error,
  * -3 - error in funct(*line, *data).
  */
-static int mutt_nntp_fetch (NNTP_DATA * nntp_data, char *query, char *msg,
+static int mutt_nntp_fetch (NNTP_DATA * nntp_data, const char *query, char *msg,
                             progress_t* bar, int (*funct) (char *, void *),
                             void *data, int tagged)
 {
                             progress_t* bar, int (*funct) (char *, void *),
                             void *data, int tagged)
 {
@@ -519,7 +519,7 @@ static int parse_description (char *line, void *n)
 #undef news
 }
 
 #undef news
 }
 
-static void nntp_get_desc (NNTP_DATA * data, char *mask, char *msg, progress_t* bar)
+static void nntp_get_desc (NNTP_DATA * data, const char *mask, char *msg, progress_t* bar)
 {
   char buf[STRING];
 
 {
   char buf[STRING];