diff options
| author | Sascha Schumann <sas@php.net> | 2001-05-24 01:12:11 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2001-05-24 01:12:11 +0000 |
| commit | 3ffaa634a22e647a79a94c8ea6917946367c0611 (patch) | |
| tree | 3a48205e86635bd12af376d94a752dc433f07a8d /ext | |
| parent | a25f899b47f698863d5af973c29736fb727f5128 (diff) | |
| download | php-git-3ffaa634a22e647a79a94c8ea6917946367c0611.tar.gz | |
fix buggy debug statements
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/session/mod_mm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
