From: Sascha Schumann Date: Thu, 24 May 2001 01:12:11 +0000 (+0000) Subject: fix buggy debug statements X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ffaa634a22e647a79a94c8ea6917946367c0611;p=php fix buggy debug statements --- diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c index 1f9d00a7b5..987684e2d2 100644 --- a/ext/session/mod_mm.c +++ b/ext/session/mod_mm.c @@ -162,7 +162,7 @@ static ps_sd *ps_sd_lookup(ps_mm *data, const char *key, int rw) 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 @@ PS_WRITE_FUNC(mm) 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);