projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- docs
[m6w6/ext-http]
/
php_http_cache_api.h
diff --git
a/php_http_cache_api.h
b/php_http_cache_api.h
index be73fa6aea310173cdc431441b7a290c701560ff..f81f853aecbff935c2378905f0151850c1904871 100644
(file)
--- a/
php_http_cache_api.h
+++ b/
php_http_cache_api.h
@@
-79,7
+79,7
@@
static inline void *_http_etag_init(TSRMLS_D)
{
case HTTP_ETAG_CRC32:
ctx = emalloc(sizeof(unsigned int));
-
memset(ctx, 1, sizeof(unsigned int))
;
+
*((unsigned int *) ctx) = ~0
;
break;
case HTTP_ETAG_SHA1: