diff options
author | Zeev Suraski <zeev@php.net> | 2001-08-11 17:03:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-08-11 17:03:37 +0000 |
commit | c0404f46311e5b519dc51697e181bb39ca8d09d2 (patch) | |
tree | 291959f75d7b2a3f3e171830ed6eea76b5d98b4d /ext/standard/dl.c | |
parent | f6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa (diff) | |
download | php-git-c0404f46311e5b519dc51697e181bb39ca8d09d2.tar.gz |
Whitespace
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r-- | ext/standard/dl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index b24c693596..cb8ed73322 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -96,7 +96,7 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC) { void *handle; char *libpath; - zend_module_entry *module_entry,*tmp; + zend_module_entry *module_entry, *tmp; zend_module_entry *(*get_module)(void); int error_type; char *extension_dir; @@ -122,9 +122,9 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC) libpath = emalloc(extension_dir_len+file->value.str.len+2); if (IS_SLASH(extension_dir[extension_dir_len-1])) { - sprintf(libpath,"%s%s", extension_dir, file->value.str.val); /* SAFE */ + sprintf(libpath, "%s%s", extension_dir, file->value.str.val); /* SAFE */ } else { - sprintf(libpath,"%s/%s", extension_dir, file->value.str.val); /* SAFE */ + sprintf(libpath, "%s/%s", extension_dir, file->value.str.val); /* SAFE */ } } else { libpath = estrndup(file->value.str.val, file->value.str.len); @@ -190,8 +190,8 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC) } /* update the .request_started property... */ - if (zend_hash_find(&module_registry, module_entry->name, strlen(module_entry->name)+1,(void **) &tmp)==FAILURE) { - php_error(error_type,"%s: Loaded module got lost", module_entry->name); + if (zend_hash_find(&module_registry, module_entry->name, strlen(module_entry->name)+1, (void **) &tmp)==FAILURE) { + php_error(error_type, "%s: Loaded module got lost", module_entry->name); RETURN_FALSE; } tmp->handle = handle; @@ -209,7 +209,7 @@ PHP_MINFO_FUNCTION(dl) void php_dl(pval *file, int type, pval *return_value) { - php_error(E_WARNING,"Cannot dynamically load %s - dynamic modules are not supported", file->value.str.val); + php_error(E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", file->value.str.val); RETURN_FALSE; } |