projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
b3f63f9
)
- MHASH_APINO is a number
author
Michael Wallner
<mike@php.net>
Tue, 6 Sep 2005 11:48:31 +0000
(11:48 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 6 Sep 2005 11:48:31 +0000
(11:48 +0000)
http.c
patch
|
blob
|
history
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, "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
#else
php_info_print_table_row(2, "mhash ETag Generator:", "disabled");
#endif