diff options
author | Zeev Suraski <zeev@php.net> | 2000-10-31 18:28:04 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-10-31 18:28:04 +0000 |
commit | 0ee12a6488ba46d66c67417ccb4fc596e1431935 (patch) | |
tree | 393ab18960b13fc71121f4b3fe7110a98d28ffb8 /sapi/apache/mod_php4.c | |
parent | 8aecb3c984fe13397d14cd850963e921deb50bd9 (diff) | |
download | php-git-0ee12a6488ba46d66c67417ccb4fc596e1431935.tar.gz |
Fix Apache build
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r-- | sapi/apache/mod_php4.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 5245e1e31e..db1ab8e0d7 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -124,7 +124,7 @@ void php_save_umask(void) static int sapi_apache_ub_write(const char *str, uint str_length) { - int ret; + uint ret; SLS_FETCH(); if (SG(server_context)) { @@ -576,11 +576,8 @@ static void *php_create_dir(pool *p, char *dummy) static void *php_merge_dir(pool *p, void *basev, void *addv) { - php_per_dir_entry tmp; - /* This function *must* return addv, and not modify basev */ zend_hash_merge_ex((HashTable *) addv, (HashTable *) basev, (copy_ctor_func_t) copy_per_dir_entry, sizeof(php_per_dir_entry), (zend_bool (*)(void *, void *)) should_overwrite_per_dir_entry); - /*zend_hash_merge((HashTable *) addv, (HashTable *) basev, (void (*)(void *)) copy_per_dir_entry, &tmp, sizeof(php_per_dir_entry), 0);*/ return addv; } |