aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r--src/dbUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 29e92494e..3b5d896b6 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -83,7 +83,7 @@ static int searchInDirectory(Song * song, void *_data)
LocateTagItemArray *array = &data->array;
if (strstrSearchTags(song, array->numItems, array->items))
- song_print_info(data->client, song);
+ return song_print_info(data->client, song);
return 0;
}
@@ -124,7 +124,7 @@ static int findInDirectory(Song * song, void *_data)
LocateTagItemArray *array = &data->array;
if (tagItemsFoundAndMatches(song, array->numItems, array->items))
- song_print_info(data->client, song);
+ return song_print_info(data->client, song);
return 0;
}