X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_cache_api.h;h=a1d62eef20d922e2431963317bd1ce793502ebfc;hb=ad5c874bc157f84d7e9c2fcd261adcfef4b2efe3;hp=1a21dedfa84bd185687eb8250efc7fa1a1edc334;hpb=edc84b40eb2c5be04492fa98fec5833a030782eb;p=m6w6%2Fext-http diff --git a/php_http_cache_api.h b/php_http_cache_api.h index 1a21ded..a1d62ee 100644 --- a/php_http_cache_api.h +++ b/php_http_cache_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -30,12 +30,10 @@ # include "ext/hash/php_hash.h" #endif -ZEND_EXTERN_MODULE_GLOBALS(http); - #define http_etag_digest(d, l) _http_etag_digest((d), (l)) static inline char *_http_etag_digest(const unsigned char *digest, int len) { - static const char hexdigits[16] = "0123456789abcdef"; + static const char hexdigits[17] = "0123456789abcdef"; int i; char *hex = emalloc(len * 2 + 1); char *ptr = hex;