X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_body_api.c;h=dd76edb47053b18d52b03499464f72f08059b43b;hp=e7fe1c81c9250abd91b87f61c527f302f5e2f4ac;hb=f9a650f4b1ed0baad4a41f6e130991f328dc64b9;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/http_request_body_api.c b/http_request_body_api.c index e7fe1c8..dd76edb 100644 --- a/http_request_body_api.c +++ b/http_request_body_api.c @@ -12,10 +12,6 @@ /* $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #define HTTP_WANT_CURL #include "php_http.h" @@ -34,6 +30,7 @@ PHP_HTTP_API http_request_body *_http_request_body_init_ex(http_request_body *bo body->type = type; body->free = free; + body->priv = 0; body->data = data; body->size = size;