remove superfluous newlines in error messages
The error handling routines add a newline. Remove the duplicate ones in error messages. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
9768cafe68
commit
82247e9bd5
@ -107,7 +107,7 @@ static void *get_data(unsigned long size)
|
||||
if (stream.total_out == size && ret == Z_STREAM_END)
|
||||
break;
|
||||
if (ret != Z_OK) {
|
||||
error("inflate returned %d\n", ret);
|
||||
error("inflate returned %d", ret);
|
||||
free(buf);
|
||||
buf = NULL;
|
||||
if (!recover)
|
||||
|
||||
Reference in New Issue
Block a user