projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent double free of 'ce->cd_file' or later use of invalid data
[mmh]
/
sbr
/
seq_save.c
diff --git
a/sbr/seq_save.c
b/sbr/seq_save.c
index
e0f42ae
..
f8de9ed
100644
(file)
--- a/
sbr/seq_save.c
+++ b/
sbr/seq_save.c
@@
-4,6
+4,10
@@
* -- 2) save public sequences
*
* $Id$
* -- 2) save public sequences
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-27,10
+31,6
@@
seq_save (struct msgs *mp)
FILE *fp;
sigset_t set, oset;
FILE *fp;
sigset_t set, oset;
- /* sanity check - check that context has been read */
- if (defpath == NULL)
- adios (NULL, "oops, context hasn't been read yet");
-
/* check if sequence information has changed */
if (!(mp->msgflags & SEQMOD))
return;
/* check if sequence information has changed */
if (!(mp->msgflags & SEQMOD))
return;