X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=c75b6dcf5078e7b0d36ecdeb91f542e75fc8af40;hp=8d2b47f5e23cd29e9bfc76efaad131a2f56ccc45;hb=e434da0fad7db62d86c236c68b22150165f2647a;hpb=ae1297f5908f5683e7384395e5ae0e5a295be576 diff --git a/http_cache_api.c b/http_cache_api.c index 8d2b47f..c75b6dc 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -207,7 +207,7 @@ PHP_HTTP_API STATUS _http_cache_etag(const char *etag, size_t etag_len, if (!http_match_etag("HTTP_IF_NONE_MATCH", etag)) { return SUCCESS; } - return http_cache_exit_ex(etag, 1, 0); + return http_cache_exit_ex((char *)etag, 1, 0); } /* if no etag is given and we didn't already start ob_etaghandler -- start it */