Skip to content

Commit 4166fc2

Browse files
committed
ext/standard/mail.c: use smart_str_append when we have zend_string*
1 parent 5597b07 commit 4166fc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/standard/mail.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static void php_mail_build_headers_elem(smart_str *s, const zend_string *key, zv
162162
}
163163
smart_str_append(s, key);
164164
smart_str_appendl(s, ": ", 2);
165-
smart_str_appends(s, Z_STRVAL_P(val));
165+
smart_str_append(s, Z_STR_P(val));
166166
smart_str_appendl(s, "\r\n", 2);
167167
break;
168168
case IS_ARRAY:

0 commit comments

Comments
 (0)