diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-04-18 13:08:21 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-04-18 13:08:21 +0000 |
commit | 9db75f40285a7d32fced11f1f5c0806e16524f8c (patch) | |
tree | 96b11399fc42bb99e3bdf10bce2bd4d20eced132 /src/Write.c | |
parent | 8f07ebf8240dbaed0b4cee55a8e0897761684f24 (diff) |
Take the identity string from the cGH structure.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@233 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Write.c')
-rw-r--r-- | src/Write.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Write.c b/src/Write.c index 97213b6..ccd2d46 100644 --- a/src/Write.c +++ b/src/Write.c @@ -317,12 +317,9 @@ static IEEEfile_t *OpenFile (const cGH *GH, const char *alias, int *is_new_file) file->filename = (char *) malloc (strlen (myGH->outdir) + strlen (extradir) + strlen (alias) + strlen (extra) + - (pughGH->identity_string ? - strlen (pughGH->identity_string) : 0) + - 10); + strlen (GH->identity) + 10); sprintf (file->filename, "%s/%s%s_3d%s%s.ieee", myGH->outdir, - extradir, alias, extra, (pughGH->identity_string ? - pughGH->identity_string : "")); + extradir, alias, extra, GH->identity); /* no need to store file info if used only once */ if (! out3D_septimefiles) |