openbsd-ports/misc/xdelta/patches/patch-xd_edsio_c
2004-01-02 22:17:19 +00:00

69 lines
2.4 KiB
Plaintext

$OpenBSD: patch-xd_edsio_c,v 1.1 2004/01/02 22:17:19 espie Exp $
--- xd_edsio.c.orig 2004-01-02 23:09:56.000000000 +0100
+++ xd_edsio.c 2004-01-02 23:11:19.000000000 +0100
@@ -220,8 +220,7 @@ serializeio_print_xdeltaindex_obj (Seria
for (i = 0; i < obj->index_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n", i);
print_spaces (indent_spaces);
serializeio_print_xdeltachecksum_obj (& (obj->index[i]), indent_spaces + 2);
print_spaces (indent_spaces);
@@ -505,8 +504,8 @@ serializeio_print_xdeltacontrol_obj (Ser
for (i = 0; i < obj->source_info_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n",
+ i);
print_spaces (indent_spaces);
serializeio_print_xdeltasourceinfo_obj ((obj->source_info[i]), indent_spaces + 2);
print_spaces (indent_spaces);
@@ -522,8 +521,8 @@ serializeio_print_xdeltacontrol_obj (Ser
for (i = 0; i < obj->inst_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n"
+, i);
print_spaces (indent_spaces);
serializeio_print_xdeltainstruction_obj (& (obj->inst[i]), indent_spaces + 2);
print_spaces (indent_spaces);
@@ -916,8 +915,8 @@ serializeio_print_rsyncindex_obj (Serial
for (i = 0; i < obj->index_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n"
+, i);
print_spaces (indent_spaces);
serializeio_print_rsyncindexelt_obj (& (obj->index[i]), indent_spaces + 2);
print_spaces (indent_spaces);
@@ -1195,8 +1194,8 @@ serializeio_print_version0control_obj (S
for (i = 0; i < obj->source_info_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n"
+, i);
print_spaces (indent_spaces);
serializeio_print_version0sourceinfo_obj ((obj->source_info[i]), indent_spaces + 2);
print_spaces (indent_spaces);
@@ -1212,8 +1211,8 @@ serializeio_print_version0control_obj (S
for (i = 0; i < obj->inst_len; i += 1)
{
print_spaces (indent_spaces);
- g_print ("%d:
-", i);
+ g_print ("%d:\n"
+, i);
print_spaces (indent_spaces);
serializeio_print_version0instruction_obj (& (obj->inst[i]), indent_spaces + 2);
print_spaces (indent_spaces);