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=713fc5a1e8a0d00eadd1a1a8e5b9dcc588ffdf9f;hp=3359b28ad501f5fce3b474b7fbb0b80b7678f114;hb=bcda0df869eb6c34df1b3ec6888070c76bb33065;hpb=5ecd200ee2e3d887f0393948aec1914867e64293 diff --git a/http_request_method_api.c b/http_request_method_api.c index 3359b28..713fc5a 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -260,7 +260,7 @@ PHP_HTTP_API STATUS _http_request_method_unregister(int method TSRMLS_DC) if ( (HTTP_CUSTOM_REQUEST_METHOD(method) < 0) || (HTTP_CUSTOM_REQUEST_METHOD(method) > HTTP_G->request.methods.custom.count) || (!ptr[HTTP_CUSTOM_REQUEST_METHOD(method)])) { - http_error_ex(HE_NOTICE, HTTP_E_REQUEST_METHOD, "Custom request method with id %lu does not exist", method); + http_error_ex(HE_NOTICE, HTTP_E_REQUEST_METHOD, "Custom request method with id %d does not exist", method); return FAILURE; }