- php_info fun
[m6w6/ext-http] / http_response_object.c
index ba1ae4073ef9991f805aacd681735f8d12fadbbc..dfc2476a8819259df634f5b2dbad0577cf9c3cf2 100644 (file)
@@ -240,12 +240,13 @@ static inline void _http_response_object_declare_default_properties(TSRMLS_D)
 #ifndef WONKY
        DCL_CONST(long, "ETAG_MD5", HTTP_ETAG_MD5);
        DCL_CONST(long, "ETAG_SHA1", HTTP_ETAG_SHA1);
+       DCL_CONST(long, "ETAG_CRC32", HTTP_ETAG_CRC32);
        
 #      ifdef HTTP_HAVE_MHASH
        {
                int l, i, c = mhash_count();
                
-               for (i = 0; i < c; ++i) {
+               for (i = 0; i <= c; ++i) {
                        char const_name[256] = {0};
                        const char *hash_name = mhash_get_hash_name_static(i);