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=4e2ecc5ed84649ce20fd1f11319626e0b1befa0a;hpb=1382fe5a3ed5209ab05745ca95495885e85ff2a0 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"))) {