From: Jan-E Date: Thu, 24 Oct 2019 10:28:18 +0000 (+0200) Subject: Fix operator for Visual Studio X-Git-Tag: RELEASE_3_2_3~2^2~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8f8c6de6ae23ee114c9fac41d82ae866c1747132;p=m6w6%2Fext-http Fix operator for Visual Studio --- diff --git a/src/php_http_message_body.c b/src/php_http_message_body.c index db86ab0..97b1a14 100644 --- a/src/php_http_message_body.c +++ b/src/php_http_message_body.c @@ -393,7 +393,7 @@ static ZEND_RESULT_CODE add_recursive_files(php_http_message_body_t *body, const { if (Z_TYPE_P(val) == IS_ARRAY || Z_TYPE_P(val) == IS_OBJECT) { char *str = key.key ? format_key(&key, name) : NULL; - const char *prefix = str ?: name; + const char *prefix = str ? str : name; if (SUCCESS != add_recursive_files(body, prefix, HASH_OF(val))) { efree(str);