From efad267ce4b49489b03022d7decd94dcf244e71e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 6 Sep 2005 11:48:31 +0000 Subject: [PATCH] - MHASH_APINO is a number --- http.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2