projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02b4eb
)
- Fixed another little buglet in the spprintf() formatters.
author
Derick Rethans
<derick@php.net>
Tue, 23 Aug 2005 06:48:55 +0000
(06:48 +0000)
committer
Derick Rethans
<derick@php.net>
Tue, 23 Aug 2005 06:48:55 +0000
(06:48 +0000)
main/spprintf.c
patch
|
blob
|
history
diff --git
a/main/spprintf.c
b/main/spprintf.c
index 4d51b80ecde1f8f1749398c4b62bb9d208b8b0f4..09f33f10650a3ecedfe90dea1ad127b28e37fc65 100644
(file)
--- 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--) { \