projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
coverity fixes
[m6w6/ext-http]
/
src
/
php_http_message.c
diff --git
a/src/php_http_message.c
b/src/php_http_message.c
index 60569b8be62f336f2199ba72196c6fe1f8178e03..3186b79edca07ed13a09e982c9ced7bf64d5a239 100644
(file)
--- a/
src/php_http_message.c
+++ b/
src/php_http_message.c
@@
-436,7
+436,7
@@
php_http_message_t *php_http_message_reverse(php_http_message_t *msg)
if (c > 1) {
php_http_message_t *tmp = msg, **arr;
if (c > 1) {
php_http_message_t *tmp = msg, **arr;
- arr = ecalloc(c, sizeof(*
*
arr));
+ arr = ecalloc(c, sizeof(*arr));
for (i = 0; i < c; ++i) {
arr[i] = tmp;
tmp = tmp->parent;
for (i = 0; i < c; ++i) {
arr[i] = tmp;
tmp = tmp->parent;
@@
-702,7
+702,7
@@
void php_http_message_object_reverse(zval *this_ptr, zval *return_value TSRMLS_D
php_http_message_object_t **objects;
int last;
php_http_message_object_t **objects;
int last;
- objects = ecalloc(i, sizeof(*
*
objects));
+ objects = ecalloc(i, sizeof(*objects));
/* we are the first message */
objects[0] = obj;
/* we are the first message */
objects[0] = obj;