From 2bb9ff59dde27663a23fa798419f4bd6ab91d1be Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 8 Apr 2013 11:36:43 +0200 Subject: fix bugs in fileconflicts code and prepare for aliased dirs Breaks API but that should not be a problem as noone seems to use the function yet. --- examples/solv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/solv.c b/examples/solv.c index eea621d..37456d8 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -3141,8 +3141,8 @@ rerunsolver: if (conflicts.count) { printf("\n"); - for (i = 0; i < conflicts.count; i += 5) - printf("file %s of package %s conflicts with package %s\n", pool_id2str(pool, conflicts.elements[i]), pool_solvid2str(pool, conflicts.elements[i + 1]), pool_solvid2str(pool, conflicts.elements[i + 3])); + for (i = 0; i < conflicts.count; i += 6) + printf("file %s of package %s conflicts with package %s\n", pool_id2str(pool, conflicts.elements[i]), pool_solvid2str(pool, conflicts.elements[i + 1]), pool_solvid2str(pool, conflicts.elements[i + 4])); printf("\n"); if (yesno("Re-run solver (y/n/q)? ")) { -- cgit v1.2.3