aboutsummaryrefslogtreecommitdiff
path: root/src/RecoverGH.c
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-05-07 21:41:44 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-05-07 21:41:44 +0000
commit8c97fc8973b272e44c83dcd21ce149c80ca379bd (patch)
treee26b46f810057371fd5581b6ba77392074c4b2e1 /src/RecoverGH.c
parentb29573817f147dcabd3436816aa0c3e7b8d32004 (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
Diffstat (limited to 'src/RecoverGH.c')
-rw-r--r--src/RecoverGH.c2
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;