projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
434dc59
)
the same here
author
Michael Wallner
<mike@php.net>
Tue, 26 Jul 2011 06:31:59 +0000
(06:31 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 26 Jul 2011 06:31:59 +0000
(06:31 +0000)
php_http_etag.c
patch
|
blob
|
history
diff --git
a/php_http_etag.c
b/php_http_etag.c
index c56aa496c53e87e9efd580736c9087eaf9d54d38..87164fef22b3406faf0755a4b41c30cc4bdcf19b 100644
(file)
--- 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