-rw-r--r-- | core/opiealarm/opiealarm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/opiealarm/opiealarm.c b/core/opiealarm/opiealarm.c index 998cabd..90a743f 100644 --- a/core/opiealarm/opiealarm.c +++ b/core/opiealarm/opiealarm.c @@ -95,2 +95,3 @@ int fork_with_pidfile ( void ) } + // sleep( 60 ); @@ -208,3 +209,3 @@ int suspend ( int fix_rtc ) { - FILE *fp; + FILE *fp = NULL; char buf [64]; @@ -260,3 +261,3 @@ int suspend ( int fix_rtc ) fclose ( fp ); - fp = 0; + fp = NULL; @@ -373,3 +374,3 @@ int resume ( int resuspend ) - // no need for system() since this process is no longer usefull anyway + // no need for system() since this process is no longer usefull anyway execv ( "/opt/QtPalmtop/bin/qcop", argv ); |