X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http_message_api.c;h=15fa449eb21eef2e2453152da7cacf163d58c68b;hb=61f165688d2cc39424678829a145c8cbab51d1af;hp=dbd92c8810a9156cd9c2a36b8f51555114794ac5;hpb=1b093720ee0708c101a273e739ddb774f7d7f6d0;p=m6w6%2Fext-http diff --git a/http_message_api.c b/http_message_api.c index dbd92c8..15fa449 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -138,7 +138,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char msg = http_message_init(msg); - if (SUCCESS != http_parse_headers_cb(message, &msg->hdrs, 1, (http_info_callback) http_message_info_callback, &msg)) { + if (SUCCESS != http_parse_headers_cb(message, &msg->hdrs, 1, (http_info_callback) http_message_info_callback, (void **) &msg)) { if (free_msg) { http_message_free(&msg); }