X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=8d65cd155ea50d3a7f0803eb5f8acedbd08a502c;hp=72c7c2a532dd022be5cb7429dce34afd71c6a921;hb=c71fd3a3bcc7231f2efc4c7520888880f42a6b3c;hpb=e8608b78db949f6806ee47709aa6799affe69b9e diff --git a/http.c b/http.c index 72c7c2a..8d65cd1 100644 --- a/http.c +++ b/http.c @@ -332,9 +332,19 @@ PHP_MINFO_FUNCTION(http) php_info_print_table_row(2, "cURL HTTP Requests:", "disabled"); #endif #ifdef HTTP_HAVE_MHASH - php_info_print_table_row(2, "mhash ETag Generator:", MHASH_API_VERSION); + { + char mhash_info[32]; + + snprintf(mhash_info, 32, "libmhash/%d", MHASH_API_VERSION); + php_info_print_table_row(2, "mhash ETag Generator:", mhash_info); + } #else php_info_print_table_row(2, "mhash ETag Generator:", "disabled"); +#endif +#if defined(HTTP_HAVE_MAGIC) && !defined(WONKY) + php_info_print_table_row(2, "magic MIME Guessing:", "libmagic/unknown"); +#else + php_info_print_table_row(2, "magic MIME Guessing:", "disabled"); #endif php_info_print_table_row(2, "Registered Classes:", #ifndef ZEND_ENGINE_2