X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_body_api.c;h=dd76edb47053b18d52b03499464f72f08059b43b;hb=367f82c6492b0fcdc23491ee3454d042ed34c104;hp=401e0ac453500c15d9b5a34d616224c2632263c9;hpb=43923eca4429ed3ce5fb85407345d7030a1879f1;p=m6w6%2Fext-http diff --git a/http_request_body_api.c b/http_request_body_api.c index 401e0ac..dd76edb 100644 --- a/http_request_body_api.c +++ b/http_request_body_api.c @@ -6,16 +6,12 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ /* $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;