]> granicus.if.org Git - mutt/commitdiff
Use proper prototype for mutt_get_default_charset(), fix fallout.
authorMatthias Andree <matthias.andree@gmx.de>
Thu, 23 Jul 2009 21:51:30 +0000 (23:51 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Thu, 23 Jul 2009 21:51:30 +0000 (23:51 +0200)
charset.h
rfc2047.c

index 703d30dd48be85b0074ac857796983db524d76b3..e52ce383586d090385d107edf2458de88706fde7 100644 (file)
--- a/charset.h
+++ b/charset.h
@@ -47,7 +47,7 @@ char * fgetconvs (char *, size_t, FGETCONV *);
 void fgetconv_close (FGETCONV **);
 
 void mutt_set_langinfo_charset (void);
-char *mutt_get_default_charset ();
+char *mutt_get_default_charset (void);
 
 /* flags for charset.c:mutt_convert_string(), fgetconv_open(), and
  * mutt_iconv_open(). Note that applying charset-hooks to tocode is
index 2bd433b05345b80ed03b28761ad56acaad871c01..65528a9be4195e51951d0c3246e78e99eb211fc1 100644 (file)
--- a/rfc2047.c
+++ b/rfc2047.c
@@ -119,7 +119,7 @@ int convert_nonmime_string (char **ps)
     }
   }
   mutt_convert_string (ps,
-      (const char *)mutt_get_default_charset (AssumedCharset),
+      (const char *)mutt_get_default_charset (),
       Charset, M_ICONV_HOOK_FROM);
   return -1;
 }