mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed smart_str_setl
This commit is contained in:
parent
fa2e7ba0cb
commit
6c16325034
@ -185,8 +185,8 @@ static inline char *smart_str_print_unsigned(char *buf, long num) {
|
||||
smart_str_appendl_ex((dest), ((smart_str *)(src))->s->val, \
|
||||
((smart_str *)(src))->s->len, (what));
|
||||
|
||||
|
||||
#define smart_str_setl(dest, src, nlen) do { \
|
||||
smart_str_free((dest)); \
|
||||
smart_str_appendl_ex((dest), (src), (nlen), 0); \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user