Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/push'
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index 724720c562ab6da2b02e91b69f5365bc7bfee4f4..e3f767582bfc71fc3d1b90be8fa76ab3ad7e1664 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-312,7
+312,7
@@
static void start_fetch_loose(struct transfer_request *request)
SHA1_Init(&request->c);
if (prev_posn>0) {
prev_posn = 0;
- lseek(request->local_fileno,
SEEK_SET, 0
);
+ lseek(request->local_fileno,
0, SEEK_SET
);
ftruncate(request->local_fileno, 0);
}
}