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:
68c092d
)
fix build
author
Michael Wallner
<mike@php.net>
Tue, 26 Jul 2011 06:22:51 +0000
(06:22 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 26 Jul 2011 06:22:51 +0000
(06:22 +0000)
php_http_etag.c
patch
|
blob
|
history
diff --git
a/php_http_etag.c
b/php_http_etag.c
index 40757f799968a000558365347f471810270e26fd..c56aa496c53e87e9efd580736c9087eaf9d54d38 100644
(file)
--- a/
php_http_etag.c
+++ b/
php_http_etag.c
@@
-1,5
+1,6
@@
#include "php_http.h"
+
#ifdef PHP_HTTP_HAVE_HASH
# include "php_hash.h"
#endif
@@
-48,7
+49,7
@@
PHP_HTTP_API char *php_http_etag_finish(php_http_etag_t *e)
#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_final(digest, e->ctx);
etag = php_http_etag_digest(digest, eho->digest_size);
} else