Commit Diff


commit - 0fca100c2fe2bfd8e88b22246068addedecd343d
commit + b4b1b9c0333d1aedca89dd35c4e60ac8684cddac
blob - 85d1234ffdb9c7fc4b46eafa3080973bcc7b3327
blob + 5b862ce19c91768a2712777e8538fbe4b78cd1b1
--- lib/privsep.c
+++ lib/privsep.c
@@ -1439,7 +1439,7 @@ send_tree_entries_batch(struct imsgbuf *ibuf,
 			return got_error_from_errno("imsg_add TREE_ENTRY");
 		if (imsg_add(wbuf, &pte->namelen, sizeof(pte->namelen)) == -1)
 			return got_error_from_errno("imsg_add TREE_ENTRY");
-		
+
 		/* Remaining bytes are the entry's name. */
 		if (imsg_add(wbuf, pte->name, pte->namelen) == -1)
 			return got_error_from_errno("imsg_add TREE_ENTRY");
@@ -2802,7 +2802,7 @@ got_privsep_recv_enumerated_objects(struct imsgbuf *ib
 
 		datalen = imsg.hdr.len - IMSG_HEADER_SIZE;
 		switch (imsg.hdr.type) {
-		case GOT_IMSG_ENUMERATED_COMMIT: 
+		case GOT_IMSG_ENUMERATED_COMMIT:
 			if (have_commit && nentries != -1) {
 				err = got_error(GOT_ERR_PRIVSEP_MSG);
 				break;
@@ -3089,7 +3089,7 @@ send_idlist(struct imsgbuf *ibuf, struct got_object_id
 		if (imsg_add(wbuf, id, sizeof(*id)) == -1)
 			return got_error_from_errno("imsg_add OBJ_ID_LIST");
 	}
-	
+
 	wbuf->fd = -1;
 	imsg_close(ibuf, wbuf);
 
@@ -3104,7 +3104,7 @@ got_privsep_send_object_idlist(struct imsgbuf *ibuf,
 	struct got_object_id *idlist[GOT_IMSG_OBJ_ID_LIST_MAX_NIDS];
 	int i, j = 0;
 
-	for (i = 0; i < nids; i++) { 
+	for (i = 0; i < nids; i++) {
 		j = i % nitems(idlist);
 		idlist[j] = ids[i];
 		if (j >= nitems(idlist) - 1) {
@@ -3224,7 +3224,7 @@ got_privsep_send_reused_deltas(struct imsgbuf *ibuf,
 		if (imsg_add(wbuf, delta, sizeof(*delta)) == -1)
 			return got_error_from_errno("imsg_add REUSED_DELTAS");
 	}
-	
+
 	wbuf->fd = -1;
 	imsg_close(ibuf, wbuf);