cvs: php4 /ext/session mod_mm.c

From: Date: Thu, 24 May 2001 01:12:11 +0000
Subject: cvs: php4 /ext/session mod_mm.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5973@lists.php.net to get a copy of this message
sas Wed May 23 18:12:11 2001 EDT Modified files: /php4/ext/session mod_mm.c Log: fix buggy debug statements Index: php4/ext/session/mod_mm.c diff -u php4/ext/session/mod_mm.c:1.16 php4/ext/session/mod_mm.c:1.17 --- php4/ext/session/mod_mm.c:1.16 Wed May 23 10:10:40 2001 +++ php4/ext/session/mod_mm.c Wed May 23 18:12:11 2001 @@ -162,7 +162,7 @@ ps_mm_debug("optimizing\n"); } - ps_mm_debug(stderr, "lookup(%s): ret=%p,h=%d\n", key, ret, h); + ps_mm_debug("lookup(%s): ret=%p,h=%d\n", key, ret, h); return ret; } @@ -277,9 +277,9 @@ sd = ps_sd_lookup(data, key, 1); if (!sd) { sd = ps_sd_new(data, key, val, vallen); - ps_mm_debug(stderr, "new one for %s\n", key); + ps_mm_debug("new one for %s\n", key); } else { - ps_mm_debug(stderr, "found existing one for %s\n", key); + ps_mm_debug("found existing one for %s\n", key); mm_free(data->mm, sd->data); sd->datalen = vallen; sd->data = mm_malloc(data->mm, vallen);

« previous php.cvs (#5973) next »