diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-13 17:17:03 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-13 17:17:03 +0000 |
| commit | 586672fd164c83f9e2fea8edad83716590a0fc33 (patch) | |
| tree | e5ead78ca9f71f93f4c39052979e45e2d7e59aa1 /main/spprintf.c | |
| parent | f0e7b24e6059d6460569f756b92a916c68923061 (diff) | |
| download | php-git-586672fd164c83f9e2fea8edad83716590a0fc33.tar.gz | |
PAD() macro didn't increase the buffer size resulting in loss of the
padding.
Diffstat (limited to 'main/spprintf.c')
| -rw-r--r-- | main/spprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/spprintf.c b/main/spprintf.c index 3727feedfa..8f905d5ebe 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -123,6 +123,7 @@ size_t newlen; \ smart_str_alloc(xbuf, (count), 0); \ memset(xbuf->c + xbuf->len, ch, (count)); \ + xbuf->len += (count); \ } \ } while (0) |
