X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_object.c;h=39e9116cbac20e9a95ba3df1d8ddaa33ff3b25ce;hb=707ee66a824e2bb5daad723f75682aea777b09a3;hp=13252e681d4b327512269d1ec8d0e0c5cc1dfd92;hpb=36804b1c685fc8dd7dfb84534d0a84bda5464810;p=m6w6%2Fext-http diff --git a/php_http_object.c b/php_http_object.c index 13252e6..39e9116 100644 --- a/php_http_object.c +++ b/php_http_object.c @@ -6,14 +6,11 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | + | Copyright (c) 2004-2011, Michael Wallner | +--------------------------------------------------------------------+ */ -/* $Id: http_api.c 300299 2010-06-09 06:23:16Z mike $ */ - - -#include "php_http.h" +#include "php_http_api.h" STATUS php_http_new(zend_object_value *ov, zend_class_entry *ce, php_http_new_t create, zend_class_entry *parent_ce, void *intern_ptr, void **obj_ptr TSRMLS_DC) { @@ -153,6 +150,7 @@ PHP_METHOD(HttpObject, setErrorHandling) default: php_http_error(HE_WARNING, PHP_HTTP_E_RUNTIME, "unknown error handling code (%ld)", eh); + break; } } @@ -178,6 +176,7 @@ PHP_METHOD(HttpObject, setDefaultErrorHandling) default: php_http_error(HE_WARNING, PHP_HTTP_E_RUNTIME, "unknown error handling code (%ld)", eh); + break; } } }