From 8c97fc8973b272e44c83dcd21ce149c80ca379bd Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 7 May 2001 21:41:44 +0000 Subject: 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 --- src/RecoverGH.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3