cvs: php4 /ext/session session.c
| From: | Sascha Schumann | Date: | Wed, 20 Sep 2000 01:38:40 +0000 |
| Subject: | cvs: php4 /ext/session session.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1808@lists.php.net to get a copy of this message | ||
sas Tue Sep 19 18:38:40 2000 EDT
Modified files:
/php4/ext/session session.c
Log:
Deactivate E_NOTICE message on gc
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.173 php4/ext/session/session.c:1.174
--- php4/ext/session/session.c:1.173 Tue Sep 19 18:22:55 2000
+++ php4/ext/session/session.c Tue Sep 19 18:38:39 2000
@@ -929,8 +929,10 @@
nrand = (int) (100.0*rand()/RAND_MAX);
if (nrand < PS(gc_probability)) {
PS(mod)->gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels);
+#if 0
if (nrdels != -1)
php_error(E_NOTICE, "purged %d expired session objects\n", nrdels);
+#endif
}
}
}