summaryrefslogtreecommitdiff
path: root/main/spprintf.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-08-23 06:48:55 +0000
committerDerick Rethans <derick@php.net>2005-08-23 06:48:55 +0000
commit377c3b35844ce286764177e08f5cf25406e5681f (patch)
tree11ad370ba3333bb031741a44571a72935ab8db92 /main/spprintf.c
parenta02b4ebd637cd2b7d2179102b16c41047e53911b (diff)
downloadphp-git-377c3b35844ce286764177e08f5cf25406e5681f.tar.gz
- Fixed another little buglet in the spprintf() formatters.
Diffstat (limited to 'main/spprintf.c')
-rw-r--r--main/spprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/spprintf.c b/main/spprintf.c
index 4d51b80ecd..09f33f1065 100644
--- a/main/spprintf.c
+++ b/main/spprintf.c
@@ -133,6 +133,7 @@ do { \
smart_str_alloc(xbuf, (sz), 0); \
if (s_unicode) { \
memcpy(xbuf->c + xbuf->len, s, (sz)); \
+ xbuf->len += sz; \
} else { \
p = (s_len); \
while(p--) { \