@matheusbsbs / matheus-bagliano / commits / 7cd54d37dc
Fork 0

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>

Denton Liu committed Mar 27, 2020 at 22:57 UTC 7cd54d37dcde2d8fa62a5c7a562568dd6a5e77fa
1 file changed +2 -2
wrapper.c
+2 -2
@@ -147,7 +147,7 @@ ssize_t xread(int fd, void *buf, size_t len)
147 {
148 ssize_t nr;
149 if (len > MAX_IO_SIZE)
150 - len = MAX_IO_SIZE;
150 + len = MAX_IO_SIZE;
151 while (1) {
152 nr = read(fd, buf, len);
153 if ((nr < 0) && (errno == EAGAIN || errno == EINTR))
@@ -165,7 +165,7 @@ ssize_t xwrite(int fd, const void *buf, size_t len)
165 {
166 ssize_t nr;
167 if (len > MAX_IO_SIZE)
168 - len = MAX_IO_SIZE;
168 + len = MAX_IO_SIZE;
169 while (1) {
170 nr = write(fd, buf, len);
171 if ((nr < 0) && (errno == EAGAIN || errno == EINTR))