- MHASH_APINO is a number
authorMichael Wallner <mike@php.net>
Tue, 6 Sep 2005 11:48:31 +0000 (11:48 +0000)
committerMichael Wallner <mike@php.net>
Tue, 6 Sep 2005 11:48:31 +0000 (11:48 +0000)
http.c

diff --git a/http.c b/http.c
index 72c7c2a532dd022be5cb7429dce34afd71c6a921..3d634d357e8bccdcba5ed4df38f2c884ce73df5c 100644 (file)
--- 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