summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-01 10:16:48 +0000
committerPierre Joye <pajoye@php.net>2010-09-01 10:16:48 +0000
commit13fd8fcded57c01d280fd0d9ddc2a2f2f414335e (patch)
tree171be5c0962dd1b216a81f155b5389df52081acc
parent87bf415853809bad3e1214ce5754702fdd887210 (diff)
downloadphp-git-13fd8fcded57c01d280fd0d9ddc2a2f2f414335e.tar.gz
- WS
-rw-r--r--main/streams/plain_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index c1686eec9f..9ba1d290fb 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -1147,7 +1147,7 @@ static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, c
#else
php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno));
#endif
- return 0;
+ return 0;
}
/* Clear stat cache (and realpath cache) */
@@ -1229,7 +1229,7 @@ static int php_plain_files_mkdir(php_stream_wrapper *wrapper, char *dir, int mod
if (*p == '\0') {
*p = DEFAULT_SLASH;
if ((*(p+1) != '\0') &&
- (ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
+ (ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
if (options & REPORT_ERRORS) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
}