X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_cache_api.h;h=6efe1d834199cb23295f6175a112a9918cb068c0;hp=6c2121c9c787f9571aeb454317ba47b560e01b9c;hb=ccd556e32e7264830790ec13b72a9b0e3760684b;hpb=64616c6675baf9dd168a7e2763e3124db0219921 diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 6c2121c..6efe1d8 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -116,7 +116,7 @@ static inline void _http_etag_update(void *ctx, const char *data_ptr, size_t dat if (mode && ((!strcasecmp(mode, "crc32")) || (!strcasecmp(mode, "crc32b")))) { uint i, c = *((uint *) ctx); for (i = 0; i < data_len; ++i) { - c = CRC32(c, data_ptr[i]); + CRC32(c, data_ptr[i]); } *((uint *)ctx) = c; } else if (mode && (!strcasecmp(mode, "sha1"))) {