diff options
Diffstat (limited to 'src/dmap/grl-daap-db.c')
-rw-r--r-- | src/dmap/grl-daap-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c index 4200e88..be4d148 100644 --- a/src/dmap/grl-daap-db.c +++ b/src/dmap/grl-daap-db.c @@ -322,7 +322,7 @@ grl_daap_db_search (GrlDAAPDb *db, results = g_hash_table_new (g_str_hash, g_str_equal); /* For albums and artists... */ - for (i = 0; i < 2; i++) { + for (i = 0; i < G_N_ELEMENTS(hash_table); i++) { g_hash_table_iter_init (&iter1, hash_table[i]); /* For each album or artist in above... */ for (j = 0; g_hash_table_iter_next (&iter1, &key1, &val1); j++) { |