diff options
author | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2000-09-27 13:02:04 +0000 |
---|---|---|
committer | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2000-09-27 13:02:04 +0000 |
commit | ac79acd40070d6f6356b19d3f1a952774e7c6985 (patch) | |
tree | d39970c6d06080ad4932db460db16ef35acaadaf /src | |
parent | f1b8a99aedc1107f098cbea071e6f02e11829e08 (diff) |
Forgot to remove the static flag array for advertised files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@20 eff87b29-5268-4891-90a3-a07138403961
Diffstat (limited to 'src')
-rw-r--r-- | src/Write2D.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Write2D.c b/src/Write2D.c index 55cdc99..f9fb858 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -47,8 +47,6 @@ int IOJpeg_SetDirection (IOJpegGeo_t *geometry, int direction); ********************* Local Data ***************************** ********************************************************************/ -static int **advertised; - #ifdef _WIN32 #define FILEOPENSTRING "wb" #else @@ -187,10 +185,10 @@ int IOJpeg_Write2D (cGH *GH, int index, const char *alias) fclose (file); /* advertise the file for downloading */ - if (CCTK_Equals (mode, "remove") && ! advertised[si][index]) + if (CCTK_Equals (mode, "remove") && ! ssGH->advertised[si][index]) { /* Set flag for remembering if file has been advertised */ - advertised[si][index] = 1; + ssGH->advertised[si][index] = 1; advertised_file.slice = slice; advertised_file.thorn = CCTK_THORNSTRING; |