john Tue Jan 13 00:23:08 2004 EDT
Modified files:
/php-src/ext/sqlite sess_sqlite.c
Log:
Whoops... Ilia forgot a ')'
Index: php-src/ext/sqlite/sess_sqlite.c
diff -u php-src/ext/sqlite/sess_sqlite.c:1.12 php-src/ext/sqlite/sess_sqlite.c:1.13
--- php-src/ext/sqlite/sess_sqlite.c:1.12 Mon Jan 12 17:48:58 2004
+++ php-src/ext/sqlite/sess_sqlite.c Tue Jan 13 00:23:07 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sess_sqlite.c,v 1.12 2004/01/12 22:48:58 iliaa Exp $ */
+/* $Id: sess_sqlite.c,v 1.13 2004/01/13 05:23:07 john Exp $ */
#include "php.h"
@@ -179,7 +179,7 @@
* we need to occassionaly do so manually to prevent the sessions database
* from endlessly growing.
*/
- if ((int) ((float) PS(gc_divisor) * PS(gc_divisor) *
php_combined_lcg(TSRMLS_C)) < PS(gc_probability) {
+ if ((int) ((float) PS(gc_divisor) * PS(gc_divisor) *
php_combined_lcg(TSRMLS_C)) < PS(gc_probability)) {
rv = sqlite_exec_printf(db, "VACUUM", NULL, NULL, NULL);
}
return SQLITE_RETVAL(rv);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php