summaryrefslogtreecommitdiffstats
path: root/plugins/imfile/imfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r--plugins/imfile/imfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index f9c7d0ed..ce7134d2 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -148,10 +148,10 @@ openFile(fileInfo_t *pThis)
CHKiRet(strmSeekCurrOffs(pThis->pStrm));
- /* OK, we could successfully read the file, so we now can request that it be
- * deleted when we are done with the persisted information.
+ /* OK, we could successfully read the file, so we now can request that it be deleted.
+ * If we need it again, it will be written on the next shutdown.
*/
- // TODO: do we need this functionality? psSF->bNeedDelSF = 1;
+ psSF->bDeleteOnClose = 1;
finalize_it:
if(psSF != NULL)