From: Jani Taskinen Date: Thu, 13 Sep 2007 07:41:59 +0000 (+0000) Subject: cs/ws fix X-Git-Tag: RELEASE_2_0_0a1~1825 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e3f872eb10bc6dbade1cb21e27a00c1afb4e3b1;p=php cs/ws fix --- diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 4695a42dca..5de1780eac 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -115,8 +115,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(filename, '/') != NULL || strchr(filename, DEFAULT_SLASH) != NULL) { + if (type == MODULE_TEMPORARY) { + if (strchr(filename, '/') != NULL || strchr(filename, DEFAULT_SLASH) != NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Temporary module name should contain only filename"); RETURN_FALSE; } @@ -190,8 +190,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;