diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2002-07-05 09:43:19 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2002-07-05 09:43:19 +0000 |
commit | 7c371bf82d354f62c99a47f3dc81a53956a4abdb (patch) | |
tree | fcd6a793ac7f34767a7d8e43b8a57d2114d3afd7 | |
parent | ec6a5bd70872666d1ffe84b5c7d15525da782151 (diff) |
Fixed a bug in parsing the list of filereader input files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@176 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r-- | src/CheckpointRecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c index 8de6178..7f9fd78 100644 --- a/src/CheckpointRecovery.c +++ b/src/CheckpointRecovery.c @@ -402,7 +402,7 @@ int IOUtil_RecoverVarsFromDatafiles (cGH *GH, /* duplicate the filename list and parse it */ basefilename = strdup (in_files); - while (basefilename) + while (basefilename && *basefilename) { /* skip leading spaces */ while (isspace ((int) *basefilename)) |