Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: backgrounds.c Log Message: Add sanity check for background timeout value. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/backgrounds.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- backgrounds.c 8 Jan 2006 23:51:07 -0000 1.57 +++ backgrounds.c 11 Feb 2006 17:05:08 -0000 1.58 @@ -1481,8 +1481,11 @@ static void BackgroundsTimeout(int val __UNUSED__, void *data __UNUSED__) { + if (Conf.backgrounds.timeout <= 0) + Conf.backgrounds.timeout = 1; + BackgroundsAccounting(); -/* RemoveTimerEvent("BACKGROUND_ACCOUNTING_TIMEOUT"); */ + DoIn("BACKGROUND_ACCOUNTING_TIMEOUT", 1.0 * Conf.backgrounds.timeout, BackgroundsTimeout, 0, NULL); } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs