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:
dd579c4
)
- fix HTTP_ETAG_CRC32
author
Michael Wallner
<mike@php.net>
Fri, 7 Oct 2005 15:57:04 +0000
(15:57 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 7 Oct 2005 15:57:04 +0000
(15:57 +0000)
php_http_cache_api.h
patch
|
blob
|
history
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: