X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_method_api.c;fp=http_request_method_api.c;h=3359b28ad501f5fce3b474b7fbb0b80b7678f114;hp=9e428d15ce9ff37960e69f786daad2cca2416a4e;hb=98d8a1dced6ae8bde1953f439de7fd9c453e5971;hpb=dbc4ec02cd319000b5c8589910047cfe6d5738be diff --git a/http_request_method_api.c b/http_request_method_api.c index 9e428d1..3359b28 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -109,7 +109,7 @@ PHP_RINIT_FUNCTION(http_request_method) zval **data; zend_hash_init(&methods, 0, NULL, ZVAL_PTR_DTOR, 0); - http_parse_params(HTTP_G->request.methods.custom.ini, &methods); + http_parse_params(HTTP_G->request.methods.custom.ini, HTTP_PARAMS_DEFAULT, &methods); FOREACH_HASH_VAL(pos, &methods, data) { if (Z_TYPE_PP(data) == IS_STRING) { http_request_method_register(Z_STRVAL_PP(data), Z_STRLEN_PP(data));