Commit c84f5581 c84f558112e217448b90b04b2a549dc941c34038 by Sergey Poznyakoff

(mh_file_to_message): Change signature

1 parent 31ccf5ce
...@@ -239,7 +239,7 @@ void mh_init (void); ...@@ -239,7 +239,7 @@ void mh_init (void);
239 void mh_init2 (void); 239 void mh_init2 (void);
240 void mh_read_profile (void); 240 void mh_read_profile (void);
241 int mh_read_formfile (char *name, char **pformat); 241 int mh_read_formfile (char *name, char **pformat);
242 mu_message_t mh_file_to_message (char *folder, char *file_name); 242 mu_message_t mh_file_to_message (const char *folder, char *file_name);
243 mu_message_t mh_stream_to_message (mu_stream_t stream); 243 mu_message_t mh_stream_to_message (mu_stream_t stream);
244 void mh_install (char *name, int automode); 244 void mh_install (char *name, int automode);
245 245
......
...@@ -566,7 +566,7 @@ mh_file_copy (const char *from, const char *to) ...@@ -566,7 +566,7 @@ mh_file_copy (const char *from, const char *to)
566 } 566 }
567 567
568 mu_message_t 568 mu_message_t
569 mh_file_to_message (char *folder, char *file_name) 569 mh_file_to_message (const char *folder, char *file_name)
570 { 570 {
571 struct stat st; 571 struct stat st;
572 int rc; 572 int rc;
......