From: Derick Rethans Date: Tue, 23 Aug 2005 06:48:55 +0000 (+0000) Subject: - Fixed another little buglet in the spprintf() formatters. X-Git-Tag: PRE_NEW_OCI8_EXTENSION~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=377c3b35844ce286764177e08f5cf25406e5681f;p=php - Fixed another little buglet in the spprintf() formatters. --- 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--) { \