projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* uip/pick.c: Print matching messages immediately, instead of
[mmh]
/
sbr
/
seq_read.c
diff --git
a/sbr/seq_read.c
b/sbr/seq_read.c
index
d085d53
..
c18d1da
100644
(file)
--- a/
sbr/seq_read.c
+++ b/
sbr/seq_read.c
@@
-11,6
+11,7
@@
*/
#include <h/mh.h>
*/
#include <h/mh.h>
+#include <h/utils.h>
/*
* static prototypes
/*
* static prototypes
@@
-22,7
+23,7
@@
static void seq_private (struct msgs *);
/*
* Get the sequence information for this folder from
/*
* Get the sequence information for this folder from
- * .mh_sequence (or equivalent specified in .mh_profile)
+ * .mh_sequences (or equivalent specified in .mh_profile)
* or context file (for private sequences).
*/
* or context file (for private sequences).
*/
@@
-73,7
+74,7
@@
seq_public (struct msgs *mp)
/* get filename of sequence file */
snprintf (seqfile, sizeof(seqfile), "%s/%s", mp->foldpath, mh_seq);
/* get filename of sequence file */
snprintf (seqfile, sizeof(seqfile), "%s/%s", mp->foldpath, mh_seq);
- if ((fp = fopen (seqfile, "r")) == NULL)
+ if ((fp = lkfopen (seqfile, "r")) == NULL)
return;
/* Use m_getfld to scan sequence file */
return;
/* Use m_getfld to scan sequence file */
@@
-111,7
+112,7
@@
seq_public (struct msgs *mp)
break; /* break from for loop */
}
break; /* break from for loop */
}
- fclose (fp);
+ lkfclose (fp, seqfile);
}
}