summaryrefslogtreecommitdiff
path: root/ext/standard/flock_compat.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-01-03 01:22:58 -0800
committerStanislav Malyshev <stas@php.net>2015-01-10 15:07:38 -0800
commitb7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch)
tree0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/standard/flock_compat.c
parent773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff)
downloadphp-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz
trailing whitespace removal
Diffstat (limited to 'ext/standard/flock_compat.c')
-rw-r--r--ext/standard/flock_compat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c
index d5d73f4c36..80d9f87972 100644
--- a/ext/standard/flock_compat.c
+++ b/ext/standard/flock_compat.c
@@ -52,7 +52,7 @@ PHPAPI int php_flock(int fd, int operation)
flck.l_start = flck.l_len = 0;
flck.l_whence = SEEK_SET;
-
+
if (operation & LOCK_SH)
flck.l_type = F_RDLCK;
else if (operation & LOCK_EX)
@@ -66,7 +66,7 @@ PHPAPI int php_flock(int fd, int operation)
ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck);
- if (operation & LOCK_NB && ret == -1 &&
+ if (operation & LOCK_NB && ret == -1 &&
(errno == EACCES || errno == EAGAIN))
errno = EWOULDBLOCK;
@@ -223,7 +223,7 @@ int inet_aton(const char *cp, struct in_addr *ap)
ap->s_addr = htonl(addr);
}
- return 1;
+ return 1;
}
/* }}} */
#endif /* !HAVE_INET_ATON */