Browse Source

Fixed win32 build (bug #21506).

Fixed a bug that would cause garbage data to appear at the end of the
loaded apache modules list in phpinfo().
PHP-5
Ilia Alshanetsky 23 years ago
parent
commit
d92a1f4dc1
  1. 5
      sapi/apache2filter/php_functions.c

5
sapi/apache2filter/php_functions.c

@ -40,8 +40,6 @@
#include "php_apache.h"
extern module **ap_loaded_modules;
static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC)
{
php_struct *ctx;
@ -342,6 +340,9 @@ PHP_MINFO_FUNCTION(apache)
}
smart_str_appendc(&tmp1, ' ');
}
if ((tmp1.len - 1) >= 0) {
tmp1.c[tmp1.len - 1] = '\0';
}
php_info_print_table_start();
if (apv && *apv) {

Loading…
Cancel
Save