Remove extra spaces from list debugging output

Also, make pre- and post-sorting output aligned to easily ordering
differences.
This commit is contained in:
Dan Nicholson 2012-11-15 06:34:05 -08:00
parent 1d285978bb
commit e2910a6afd

10
pkg.c
View file

@ -593,13 +593,13 @@ spew_package_list (const char *name,
{
GSList *tmp;
debug_spew (" %s: ", name);
debug_spew (" %s:", name);
tmp = list;
while (tmp != NULL)
{
Package *pkg = tmp->data;
debug_spew (" %s ", pkg->key);
debug_spew (" %s", pkg->key);
tmp = tmp->next;
}
debug_spew ("\n");
@ -700,10 +700,8 @@ fill_list (GSList *packages, GetListFunc func,
if (in_path_order)
{
spew_package_list ("original", expanded);
expanded = packages_sort_by_path_position (expanded);
spew_package_list ("sorted", expanded);
spew_package_list (" sorted", expanded);
}
merge_flag_lists (expanded, func, listp);