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 committed 2012-08-20 23:01:57 +02:00
1 parent a571c83d82
commit 1d93a743dc
1 file changed
+1 -1
+1 -1
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;