diff options
author | Derick Rethans <derick@php.net> | 2002-12-30 15:03:50 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-12-30 15:03:50 +0000 |
commit | d454becda889df68a85c39d5c1f03cc4aa0fc6a9 (patch) | |
tree | 1647be6cb43dd14ac2608de66f6c6c62fed6a25e /main/php_ini.c | |
parent | eb8b1ac9237581d01d83096c3ebcc878c8f3e582 (diff) | |
download | php-git-d454becda889df68a85c39d5c1f03cc4aa0fc6a9.tar.gz |
- Whitespace
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index af41b6c97b..b9f99c2cf3 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -396,13 +396,15 @@ int php_init_config() /* If the config_file_scan_dir is set at compile-time, go and scan this directory and * parse any .ini files found in this directory. */ - if(strlen(PHP_CONFIG_FILE_SCAN_DIR)) { + if (strlen(PHP_CONFIG_FILE_SCAN_DIR)) { dirp = VCWD_OPENDIR(PHP_CONFIG_FILE_SCAN_DIR); if (dirp) { fh.type = ZEND_HANDLE_FP; while ((dir_entry = readdir(dirp)) != NULL) { /* check for a .ini extension */ - if ((p = strrchr(dir_entry->d_name,'.')) && strcmp(p,".ini")) continue; + if ((p = strrchr(dir_entry->d_name,'.')) && strcmp(p,".ini")) { + continue; + } snprintf(ini_file, MAXPATHLEN, "%s%c%s", PHP_CONFIG_FILE_SCAN_DIR, DEFAULT_SLASH, dir_entry->d_name); if (VCWD_STAT(ini_file, &sb) == 0) { if (S_ISREG(sb.st_mode)) { |