[grilo] core: Try next source if previous couldn't resolve a key



commit e02a934699535e1b6eed5f6ca2fd3bd5a75f3aa1
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed Jan 23 18:56:17 2013 +0000

    core: Try next source if previous couldn't resolve a key
    
    The code was almost correct: there was a comment saying "try next source", but
    seems we forgot to execute the "get next source".

 src/grl-source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-source.c b/src/grl-source.c
index f631358..b36960b 100644
--- a/src/grl-source.c
+++ b/src/grl-source.c
@@ -1521,6 +1521,7 @@ map_sources_to_specs (GHashTable *specs,
       } else {
         /* Try next node */
         map_nodes = g_list_next (map_nodes);
+        continue;
       }
     } else {
       rs = g_hash_table_lookup (specs, node->source);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]