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/link.c | |
parent | f6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa (diff) | |
download | php-git-c0404f46311e5b519dc51697e181bb39ca8d09d2.tar.gz |
Whitespace
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r-- | ext/standard/link.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c index e002018fc8..69b28ba9c6 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -70,7 +70,7 @@ PHP_FUNCTION(readlink) } /* Append NULL to the end of the string */ buff[ret] = '\0'; - RETURN_STRING(buff,1); + RETURN_STRING(buff, 1); } /* }}} */ @@ -112,7 +112,7 @@ PHP_FUNCTION(symlink) if (PG(safe_mode) && !php_checkuid((*topath)->value.str.val, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { RETURN_FALSE; } - if (!strncasecmp((*topath)->value.str.val,"http://",7) || !strncasecmp((*topath)->value.str.val,"ftp://",6)) { + if (!strncasecmp((*topath)->value.str.val, "http://", 7) || !strncasecmp((*topath)->value.str.val, "ftp://", 6)) { php_error(E_WARNING, "Unable to symlink to a URL"); RETURN_FALSE; } @@ -142,7 +142,7 @@ PHP_FUNCTION(link) if (PG(safe_mode) && !php_checkuid((*topath)->value.str.val, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { RETURN_FALSE; } - if (!strncasecmp((*topath)->value.str.val,"http://",7) || !strncasecmp((*topath)->value.str.val,"ftp://",6)) { + if (!strncasecmp((*topath)->value.str.val, "http://", 7) || !strncasecmp((*topath)->value.str.val, "ftp://", 6)) { php_error(E_WARNING, "Unable to link to a URL"); RETURN_FALSE; } |