X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_object.c;h=39e9116cbac20e9a95ba3df1d8ddaa33ff3b25ce;hb=707ee66a824e2bb5daad723f75682aea777b09a3;hp=215ae8cbceca9b0713ce4af03d0674e2e18b1718;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405;p=m6w6%2Fext-http diff --git a/php_http_object.c b/php_http_object.c index 215ae8c..39e9116 100644 --- a/php_http_object.c +++ b/php_http_object.c @@ -10,7 +10,7 @@ +--------------------------------------------------------------------+ */ -#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) { @@ -150,6 +150,7 @@ PHP_METHOD(HttpObject, setErrorHandling) default: php_http_error(HE_WARNING, PHP_HTTP_E_RUNTIME, "unknown error handling code (%ld)", eh); + break; } } @@ -175,6 +176,7 @@ PHP_METHOD(HttpObject, setDefaultErrorHandling) default: php_http_error(HE_WARNING, PHP_HTTP_E_RUNTIME, "unknown error handling code (%ld)", eh); + break; } } }