diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2001-05-07 21:41:44 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2001-05-07 21:41:44 +0000 |
commit | 8c97fc8973b272e44c83dcd21ce149c80ca379bd (patch) | |
tree | e26b46f810057371fd5581b6ba77392074c4b2e1 | |
parent | b29573817f147dcabd3436816aa0c3e7b8d32004 (diff) |
Fixed a bug when reading the file version from a Cactus checkpoint file.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@190 ebee0441-1374-4afa-a3b5-247f3ba15b9a
-rw-r--r-- | src/RecoverGH.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c index 096bf8a..64b59d6 100644 --- a/src/RecoverGH.c +++ b/src/RecoverGH.c @@ -393,7 +393,7 @@ static int IOFlexIOi_OpenFile (cGH *GH, scheme. New files contain a Cactus version string attribute... */ vindex = IOreadAttributeInfo (file->fid, "Cactus version", &nt_stored, &nels_stored); - if (vindex >= 0 && nt_stored == FLEXIO_CHAR && nels_stored == 1) + if (vindex >= 0 && nt_stored == FLEXIO_CHAR) { /* for now we don't actually need the Cactus version info */ file->has_version = 1; |