Skip to content

Commit

Permalink
count-delta: match get_delta_hdr_size() changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Apr 7, 2006
1 parent 8960844 commit 98cf815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions count-delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ int count_delta(void *delta_buf, unsigned long delta_size,
data = delta_buf;
top = delta_buf + delta_size;

src_size = get_delta_hdr_size(&data);
dst_size = get_delta_hdr_size(&data);
src_size = get_delta_hdr_size(&data, top);
dst_size = get_delta_hdr_size(&data, top);

added_literal = copied_from_source = out = 0;
while (data < top) {
Expand Down

0 comments on commit 98cf815

Please sign in to comment.