summaryrefslogtreecommitdiff
path: root/xdelta1/xdmain.c
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-02-11 02:18:45 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-02-11 02:18:45 +0000
commitff760f81e367b84b8357f55721ad8e24cf086ef4 (patch)
tree71381900d70daf841bfe5fdfd1297bfefd41a097 /xdelta1/xdmain.c
parenta5f03073f9a5ce6f25255566803f9ad9fcf1c469 (diff)
Diffstat (limited to 'xdelta1/xdmain.c')
-rw-r--r--[-rwxr-xr-x]xdelta1/xdmain.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/xdelta1/xdmain.c b/xdelta1/xdmain.c
index 9d767bb..ca7cdf4 100755..100644
--- a/xdelta1/xdmain.c
+++ b/xdelta1/xdmain.c
@@ -1596,6 +1596,22 @@ delta_command (gint argc, gchar** argv)
1596 return 2; 1596 return 2;
1597 1597
1598#if 0 1598#if 0
1599 {
1600 guint32 pos = 0;
1601 gint i, l = cont->inst_len;
1602
1603 for (i = 0; i < l; i += 1)
1604 {
1605 XdeltaInstruction *inst = cont->inst + i;
1606 if (inst->index == 0) {
1607 inst->index = 999999999;
1608 inst->offset = 999999999;
1609 } else {
1610 inst->index = pos;
1611 }
1612 pos += inst->length;
1613 }
1614 }
1599 serializeio_print_xdeltacontrol_obj (cont, 0); 1615 serializeio_print_xdeltacontrol_obj (cont, 0);
1600#endif 1616#endif
1601 1617