X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_message_body.c;h=f0068b817a0fdf6714beac88d83b6f59f7250dae;hp=b2e643be4b39491f4b4f90865e76edd530cdf06c;hb=eacf52af5d1479b16ff282b407820383aaf2d532;hpb=50eaea1dac2be9bff7990a6f669b5b6dacc6889e diff --git a/src/php_http_message_body.c b/src/php_http_message_body.c index b2e643b..f0068b8 100644 --- a/src/php_http_message_body.c +++ b/src/php_http_message_body.c @@ -330,7 +330,7 @@ static inline char *format_key(php_http_arrkey_t *key, const char *prefix) { } else if (key->key) { new_key = estrdup(key->key->val); } else { - new_key = estrdup(""); + spprintf(&new_key, 0, "%lu", key->h); } return new_key;