X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_property_proxy.c;h=fc75f6daeb511298c156eabe2c7b2a92b4e265b0;hb=707ee66a824e2bb5daad723f75682aea777b09a3;hp=35e725a4b63d5afce949a4656f3325878bf02d88;hpb=4062420a5e5d301db4a3d820be881e7675a242e1;p=m6w6%2Fext-http diff --git a/php_http_property_proxy.c b/php_http_property_proxy.c index 35e725a..fc75f6d 100644 --- a/php_http_property_proxy.c +++ b/php_http_property_proxy.c @@ -1,6 +1,16 @@ - -#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" php_http_property_proxy_t *php_http_property_proxy_init(php_http_property_proxy_t *proxy, zval *object, zval *member TSRMLS_DC) { @@ -149,7 +159,7 @@ static void php_http_property_proxy_object_write_dimension(zval *object, zval *o switch (Z_TYPE_P(property)) { case IS_NULL: array_init(property); - /* fallthrough */ + /* no break */ case IS_ARRAY: Z_ADDREF_P(value); if (!offset) { @@ -188,3 +198,13 @@ PHP_MINIT_FUNCTION(http_property_proxy) 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 + */ +