X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_request_datashare.c;h=ce3f1a34437f1e884fd90967076ef5c40e7a79df;hb=d926a12aeec96752456eddfbf9a04a002809a0d2;hp=d6cbaa7e1c13568deb52a2fdb00e52adce24f65e;hpb=50546d76a9bf44bba6237df7c8101be125bc929a;p=m6w6%2Fext-http diff --git a/php_http_request_datashare.c b/php_http_request_datashare.c index d6cbaa7..ce3f1a3 100644 --- a/php_http_request_datashare.c +++ b/php_http_request_datashare.c @@ -1,9 +1,18 @@ - -#include "php_http.h" +/* + +--------------------------------------------------------------------+ + | PECL :: http | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2004-2011, Michael Wallner | + +--------------------------------------------------------------------+ +*/ + +#include "php_http_api.h" #include -#include -#include static int php_http_request_datashare_compare_handles(void *h1, void *h2); @@ -272,7 +281,7 @@ static zval **php_http_request_datashare_object_get_prop_ptr(zval *object, zval zend_property_info *pi; if ((pi = zend_get_property_info(php_http_request_datashare_class_entry, member, 1 TSRMLS_CC))) { - return &php_http_property_proxy_init(NULL, object, member TSRMLS_CC)->myself; + return &php_http_property_proxy_init(NULL, object, member, NULL TSRMLS_CC)->myself; } return zend_get_std_object_handlers()->get_property_ptr_ptr(object, member, literal_key TSRMLS_CC); @@ -391,3 +400,13 @@ PHP_RSHUTDOWN_FUNCTION(http_request_datashare) return SUCCESS; } + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ +