From 859a017f95174bec433834f09ccd2c3224b1c1aa Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Thu, 13 Sep 2007 07:42:12 +0000 Subject: [PATCH] MFH: cs/ws --- ext/standard/dl.c | 9 +++++---- 1 file 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; -- 2.50.1