Commit b3e1118bde980161ce70aab03aee6f5b99662e4d

Stefan Sperling 2020-03-18T16:13:45

fix indentation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/libexec/got-index-pack/got-index-pack.c b/libexec/got-index-pack/got-index-pack.c
index f64e530..48fa85b 100644
--- a/libexec/got-index-pack/got-index-pack.c
+++ b/libexec/got-index-pack/got-index-pack.c
@@ -676,11 +676,10 @@ index_pack(struct got_pack *pack, int idxfd, uint8_t *pack_hash,
 			if (obj->valid)
 				continue;
 
-			if (pack->map == NULL &&
-			    lseek(pack->fd, obj->off + obj->tslen, SEEK_SET)
-			    == -1) {
-					err = got_error_from_errno("lseek");
-					goto done;
+			if (pack->map == NULL && lseek(pack->fd,
+			    obj->off + obj->tslen, SEEK_SET) == -1) {
+				err = got_error_from_errno("lseek");
+				goto done;
 			}
 
 			err = resolve_deltified_object(pack, &packidx, obj);