summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-03-27 22:57:34 -0400
committerJunio C Hamano <gitster@pobox.com>2020-03-28 18:06:51 -0700
commit7cd54d37dcde2d8fa62a5c7a562568dd6a5e77fa (patch)
tree5d45538615c2787a7554f9a03cadba2ecfb57838 /wrapper.c
parent0b6806b9e45c659d25b87fb5713c920a3081eac8 (diff)
downloadgit-7cd54d37dcde2d8fa62a5c7a562568dd6a5e77fa.tar.gz
wrapper: indent with tabs
The codebase uses tabs for indentation. Convert an erroneous space indent into a tab indent. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 f92b147598..0d5108bab6 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -147,7 +147,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) && (errno == EAGAIN || errno == EINTR))
@@ -165,7 +165,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) && (errno == EAGAIN || errno == EINTR))