*/
struct msgs *
-folder_read (char *name)
+folder_read (char *name, int lockflag)
{
int msgnum, prefix_len, len, *mi;
struct msgs *mp;
mp->hghsel = 0;
mp->numsel = 0;
mp->nummsg = 0;
+ mp->seqhandle = NULL;
+ mp->seqname = NULL;
if (access (name, W_OK) == -1)
set_readonly (mp);
switch (dp->d_name[0]) {
case '.':
case ',':
-#ifdef MHE
- case '+':
-#endif /* MHE */
continue;
default:
/*
* Read and initialize the sequence information.
*/
- seq_read (mp);
+ seq_read (mp, lockflag);
return mp;
}