ostree-run-triggers: fix typo in filename comparison function

The comparison function was comparing the first file to itself,
and this resulted in triggers being run in random order.

https://bugzilla.gnome.org/show_bug.cgi?id=682297
This commit is contained in:
Giovanni Campagna 2012-08-17 17:13:01 +02:00
parent a571c83d82
commit 1d93a743dc

View File

@ -76,7 +76,7 @@ compare_files_by_basename (gconstpointer ap,
gconstpointer bp)
{
GFile *a = *(GFile**)ap;
GFile *b = *(GFile**)ap;
GFile *b = *(GFile**)bp;
char *name_a, *name_b;
int c;