diff options
author | Jani Taskinen <jani@php.net> | 2007-09-13 07:42:12 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2007-09-13 07:42:12 +0000 |
commit | 859a017f95174bec433834f09ccd2c3224b1c1aa (patch) | |
tree | 23b835e8479014f14f1811430ed6515661cda180 /ext/standard/dl.c | |
parent | f39d5a2f2160bd3fbc219c27978533697cc6b3be (diff) | |
download | php-git-859a017f95174bec433834f09ccd2c3224b1c1aa.tar.gz |
MFH: cs/ws
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r-- | ext/standard/dl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index a1289a80cd..7b2f5df87f 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -125,8 +125,8 @@ void php_dl(zval *file, int type, zval *return_value, int start_now TSRMLS_DC) if (extension_dir && extension_dir[0]){ int extension_dir_len = strlen(extension_dir); - if(type == MODULE_TEMPORARY) { - if(strchr(Z_STRVAL_P(file), '/') != NULL || strchr(Z_STRVAL_P(file), DEFAULT_SLASH) != NULL) { + if (type == MODULE_TEMPORARY) { + if (strchr(Z_STRVAL_P(file), '/') != NULL || strchr(Z_STRVAL_P(file), DEFAULT_SLASH) != NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Temporary module name should contain only filename"); RETURN_FALSE; } @@ -196,8 +196,9 @@ void php_dl(zval *file, int type, zval *return_value, int start_now TSRMLS_DC) int zend_api; unsigned char zend_debug, zts; - if(( ((struct pre_4_1_0_module_entry *)module_entry)->zend_api > 20000000) - &&(((struct pre_4_1_0_module_entry *)module_entry)->zend_api < 20010901)) { + if ((((struct pre_4_1_0_module_entry *)module_entry)->zend_api > 20000000) && + (((struct pre_4_1_0_module_entry *)module_entry)->zend_api < 20010901) + ) { name = ((struct pre_4_1_0_module_entry *)module_entry)->name; zend_api = ((struct pre_4_1_0_module_entry *)module_entry)->zend_api; zend_debug = ((struct pre_4_1_0_module_entry *)module_entry)->zend_debug; |