diff options
author | Dana How <how@deathvalley.cswitch.com> | 2007-04-05 12:05:57 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-05 15:39:12 -0700 |
commit | b5da24679ec73f458988523dce9dd17b4e9b0e02 (patch) | |
tree | eeb13a8ba1cc6f0ed34814cf6896b5fb17dc6844 /http-push.c | |
parent | 79ee194e52a140412da475e102145bad80d5d00a (diff) | |
download | git-b5da24679ec73f458988523dce9dd17b4e9b0e02.tar.gz |
Fix lseek(2) calls with args 2 and 3 swapped
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index 724720c562..e3f767582b 100644 --- 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); } } |