summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-04-22 13:42:46 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-22 13:42:47 -0700
commitb660a76d0f0f6b7bbf7e7d0b619edf0decc9d22e (patch)
tree7ef4d2825b0a81a3f7b684a24d85dacfa6b56d8a
parentMerge branch 'ag/sequencer-i18n-messages' (diff)
parentwrapper: indent with tabs (diff)
downloadtgif-b660a76d0f0f6b7bbf7e7d0b619edf0decc9d22e.tar.xz
Merge branch 'dl/wrapper-fix-indentation'
Coding style fix. * dl/wrapper-fix-indentation: wrapper: indent with tabs
-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) {