summaryrefslogtreecommitdiff
authorzecke <zecke>2003-06-13 10:41:14 (UTC)
committer zecke <zecke>2003-06-13 10:41:14 (UTC)
commit60ba51b33a060dde352caa678f2e337f5f5590f5 (patch) (unidiff)
tree29da8884e438bb768f2d0a5f41dbaad62ce7776c
parent3dd3e5caf9ca85c814442b04485f07da060dc257 (diff)
downloadopie-60ba51b33a060dde352caa678f2e337f5f5590f5.zip
opie-60ba51b33a060dde352caa678f2e337f5f5590f5.tar.gz
opie-60ba51b33a060dde352caa678f2e337f5f5590f5.tar.bz2
fix here as well
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/opiealarm/opiealarm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/opiealarm/opiealarm.c b/core/opiealarm/opiealarm.c
index 072dca7..465e633 100644
--- a/core/opiealarm/opiealarm.c
+++ b/core/opiealarm/opiealarm.c
@@ -258,6 +258,7 @@ int suspend ( int fix_rtc )
258 break; // ( 1, TIMEFILE ); 258 break; // ( 1, TIMEFILE );
259 259
260 fclose ( fp ); 260 fclose ( fp );
261 fp = 0;
261 262
262 alrt = atoi ( buf ); // get the alarm time 263 alrt = atoi ( buf ); // get the alarm time
263 264
@@ -286,6 +287,7 @@ int suspend ( int fix_rtc )
286 break; // ( 1, "ioctl RTC_AIE_OFF" ); 287 break; // ( 1, "ioctl RTC_AIE_OFF" );
287 288
288 close ( fd ); 289 close ( fd );
290 fd = -1;
289 291
290 remove_pidfile ( ); 292 remove_pidfile ( );
291 293