From 25b667802b9bf0351f7e5e9f4848b65181b76ac9 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 26 Jul 2011 06:31:59 +0000 Subject: [PATCH] the same here --- php_http_etag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_etag.c b/php_http_etag.c index c56aa49..87164fe 100644 --- a/php_http_etag.c +++ b/php_http_etag.c @@ -76,7 +76,7 @@ PHP_HTTP_API size_t php_http_etag_update(php_http_etag_t *e, const char *data_pt #ifdef PHP_HTTP_HAVE_HASH const php_hash_ops *eho = NULL; - if (mode && (eho = php_hash_fetch_ops(e->mode, strlen(e->mode)))) { + if (e->mode && (eho = php_hash_fetch_ops(e->mode, strlen(e->mode)))) { eho->hash_update(e->ctx, (const unsigned char *) data_ptr, data_len); } else #endif -- 2.30.2