Commit 88e23c91 88e23c91df278f9ff0494dad6ce63d775a7e89a4 by Sergey Poznyakoff

Updated mh_open_folder invocations.

1 parent 34c6537f
...@@ -58,7 +58,6 @@ rmm (mailbox_t mbox, message_t msg, size_t num, void *data) ...@@ -58,7 +58,6 @@ rmm (mailbox_t mbox, message_t msg, size_t num, void *data)
58 attribute_t attr; 58 attribute_t attr;
59 message_get_attribute (msg, &attr); 59 message_get_attribute (msg, &attr);
60 attribute_set_deleted (attr); 60 attribute_set_deleted (attr);
61 return 0;
62 } 61 }
63 62
64 int 63 int
...@@ -72,7 +71,7 @@ main (int argc, char **argv) ...@@ -72,7 +71,7 @@ main (int argc, char **argv)
72 mh_argp_parse (argc, argv, options, mh_option, args_doc, doc, 71 mh_argp_parse (argc, argv, options, mh_option, args_doc, doc,
73 opt_handler, NULL, &index); 72 opt_handler, NULL, &index);
74 73
75 mbox = mh_open_folder (current_folder); 74 mbox = mh_open_folder (current_folder, 0);
76 75
77 mh_msgset_parse (mbox, &msgset, argc - index, argv + index); 76 mh_msgset_parse (mbox, &msgset, argc - index, argv + index);
78 77
......
...@@ -137,7 +137,7 @@ main (int argc, char **argv) ...@@ -137,7 +137,7 @@ main (int argc, char **argv)
137 exit (1); 137 exit (1);
138 } 138 }
139 139
140 return scan (mh_open_folder (current_folder)); 140 return scan (mh_open_folder (current_folder, 0));
141 } 141 }
142 142
143 #ifdef HAVE_TERMCAP_H 143 #ifdef HAVE_TERMCAP_H
......