[PATCH] Fixlets on top of Nico's clean-up.

If we prefer 0 as maxsize for diff_delta() to say "unlimited", let's be
consistent about it.

This patch also fixes type mismatch in a call to get_delta_hdr_size()
from packed_delta_info().

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Junio C Hamano
2005-06-29 00:32:11 -07:00
committed by Linus Torvalds
parent dcde55bc58
commit 3c84974207
3 changed files with 6 additions and 9 deletions

View File

@ -61,7 +61,7 @@ int main(int argc, char *argv[])
if (argv[1][1] == 'd')
out_buf = diff_delta(from_buf, from_size,
data_buf, data_size,
&out_size, ~0UL);
&out_size, 0);
else
out_buf = patch_delta(from_buf, from_size,
data_buf, data_size,