summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-22 13:42:46 -0700
committerJunio C Hamano <gitster@pobox.com>2020-04-22 13:42:47 -0700
commitb660a76d0f0f6b7bbf7e7d0b619edf0decc9d22e (patch)
tree7ef4d2825b0a81a3f7b684a24d85dacfa6b56d8a /wrapper.c
parent3d6c56dd6624e21a18fea611bf03777b561a2c1d (diff)
parent7cd54d37dcde2d8fa62a5c7a562568dd6a5e77fa (diff)
downloadgit-b660a76d0f0f6b7bbf7e7d0b619edf0decc9d22e.tar.gz
Merge branch 'dl/wrapper-fix-indentation'
Coding style fix. * dl/wrapper-fix-indentation: wrapper: indent with tabs
Diffstat (limited to 'wrapper.c')
-rw-r--r--wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapper.c b/wrapper.c
index e1eaef2e16..3a1c0e0526 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -218,7 +218,7 @@ ssize_t xread(int fd, void *buf, size_t len)
{
ssize_t nr;
if (len > MAX_IO_SIZE)
- len = MAX_IO_SIZE;
+ len = MAX_IO_SIZE;
while (1) {
nr = read(fd, buf, len);
if (nr < 0) {
@@ -240,7 +240,7 @@ ssize_t xwrite(int fd, const void *buf, size_t len)
{
ssize_t nr;
if (len > MAX_IO_SIZE)
- len = MAX_IO_SIZE;
+ len = MAX_IO_SIZE;
while (1) {
nr = write(fd, buf, len);
if (nr < 0) {