mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
updated to the new parameter-parsing api (port from 5.3)
This commit is contained in:
parent
d44509418e
commit
6495bcca65
2 changed files with 64 additions and 57 deletions
|
@ -243,7 +243,7 @@ static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_
|
|||
table_entry *elts = (table_entry *) arr->elts;
|
||||
zval **path_translated;
|
||||
HashTable *symbol_table;
|
||||
int new_val_len;
|
||||
unsigned int new_val_len;
|
||||
|
||||
for (i = 0; i < arr->nelts; i++) {
|
||||
char *val;
|
||||
|
@ -676,7 +676,7 @@ static int send_parsed_php(request_rec * r)
|
|||
TSRMLS_FETCH();
|
||||
|
||||
ap_table_setn(r->notes, "mod_php_memory_usage",
|
||||
ap_psprintf(r->pool, "%u", zend_memory_peak_usage(1 TSRMLS_CC)));
|
||||
ap_psprintf(r->pool, "%lu", zend_memory_peak_usage(1 TSRMLS_CC)));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue