We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ee194 commit b5da246Copy full SHA for b5da246
http-fetch.c
@@ -198,7 +198,7 @@ static void start_object_request(struct object_request *obj_req)
198
SHA1_Init(&obj_req->c);
199
if (prev_posn>0) {
200
prev_posn = 0;
201
- lseek(obj_req->local, SEEK_SET, 0);
+ lseek(obj_req->local, 0, SEEK_SET);
202
ftruncate(obj_req->local, 0);
203
}
204
http-push.c
@@ -312,7 +312,7 @@ static void start_fetch_loose(struct transfer_request *request)
312
SHA1_Init(&request->c);
313
314
315
- lseek(request->local_fileno, SEEK_SET, 0);
+ lseek(request->local_fileno, 0, SEEK_SET);
316
ftruncate(request->local_fileno, 0);
317
318
0 commit comments