1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

fix buggy debug statements

This commit is contained in:
Sascha Schumann
2001-05-24 01:12:11 +00:00
parent a25f899b47
commit 3ffaa634a2
+3 -3
View File
@@ -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);