From: Michael Wallner Date: Tue, 26 Jul 2011 06:31:59 +0000 (+0000) Subject: the same here X-Git-Tag: DEV_2-before-client~102 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=25b667802b9bf0351f7e5e9f4848b65181b76ac9 the same here --- 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