projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
567a611
)
Fix operator for Visual Studio
author
Jan-E
<github@ehrhardt.nl>
Thu, 24 Oct 2019 10:28:18 +0000
(12:28 +0200)
committer
Jan-E
<github@ehrhardt.nl>
Thu, 24 Oct 2019 10:28:18 +0000
(12:28 +0200)
src/php_http_message_body.c
patch
|
blob
|
history
diff --git
a/src/php_http_message_body.c
b/src/php_http_message_body.c
index db86ab07ea8129e8c7a18d14ee306579f060c3a6..97b1a148bf3ae87c9b3984530cd563b3b7133b55 100644
(file)
--- 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);