Commit 7b911202 7b9112029e568981f1dedeee35cce33775dbaf56 by Sergey Poznyakoff

(mh_open_folder): Changed default open flags to MU_STREAM_RDWR.

1 parent 85b1c436
...@@ -291,7 +291,7 @@ mh_open_folder (const char *folder, int create) ...@@ -291,7 +291,7 @@ mh_open_folder (const char *folder, int create)
291 { 291 {
292 mailbox_t mbox = NULL; 292 mailbox_t mbox = NULL;
293 char *name; 293 char *name;
294 int flags = MU_STREAM_READ; 294 int flags = MU_STREAM_RDWR;
295 295
296 name = mh_expand_name (folder, 1); 296 name = mh_expand_name (folder, 1);
297 if (create && mh_check_folder (name, 1)) 297 if (create && mh_check_folder (name, 1))
......