better messages
This commit is contained in:
parent
d1a5a5b5c9
commit
26f6421653
10
edges.c
10
edges.c
@ -139,10 +139,10 @@ if (k) {
|
||||
return k;
|
||||
}
|
||||
|
||||
fprintf(stderr, " array @ %p\n", list->edges);
|
||||
fprintf(stderr, " size %8d\n", list->size);
|
||||
fprintf(stderr, " next free %8d\n", list->fidx);
|
||||
// fprintf(stderr, " magic 0x%08X\n", list->magic);
|
||||
fprintf(stderr, "\tarray @ %p\n", list->edges);
|
||||
fprintf(stderr, "\tsize %8d\n", list->size);
|
||||
fprintf(stderr, "\tnext free %8d\n", list->fidx);
|
||||
// fprintf(stderr, "\tmagic 0x%08X\n", list->magic);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -161,7 +161,7 @@ if (k) {
|
||||
fprintf(stderr, " list.fidx = %d\n", list->fidx);
|
||||
|
||||
for (foo=0; foo<list->fidx; foo++) {
|
||||
printf("%d\t\t%5d %5d\n", foo, list->edges[foo].A, list->edges[foo].B);
|
||||
printf("%6d\t\t%5d %5d\n", foo, list->edges[foo].A, list->edges[foo].B);
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user