X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=3d634d357e8bccdcba5ed4df38f2c884ce73df5c;hp=72c7c2a532dd022be5cb7429dce34afd71c6a921;hb=d6e0e169d758495c0a9947a94b3963350acb6771;hpb=e8608b78db949f6806ee47709aa6799affe69b9e diff --git a/http.c b/http.c index 72c7c2a..3d634d3 100644 --- a/http.c +++ b/http.c @@ -332,7 +332,12 @@ 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