summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-16 08:57:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-16 08:57:58 +0200
commit6ceefaf85f1866e15a90b961cdc589a4fc38b3ae (patch)
tree2a8a114ab8f661b54986002398dca3db5f0e6b6a /config.h
parent9be288dbb41880b52ae5a3afb44dd082a045541b (diff)
downloadvdr-6ceefaf85f1866e15a90b961cdc589a4fc38b3ae.tar.gz
vdr-6ceefaf85f1866e15a90b961cdc589a4fc38b3ae.tar.bz2
Better error handling when writing configuration files
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h
index 2e039548..a4bfa5bf 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.77 2001/09/14 14:35:32 kls Exp $
+ * $Id: config.h 1.78 2001/09/15 15:38:40 kls Exp $
*/
#ifndef __CONFIG_H
@@ -226,7 +226,8 @@ public:
}
l = (T *)l->Next();
}
- f.Close();
+ if (!f.Close())
+ result = false;
}
else
result = false;