[tracker/tracker-0.10] tracker-extract: Set retval to false if contents can't be read
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract: Set retval to false if contents can't be read
- Date: Mon, 22 Aug 2011 13:44:51 +0000 (UTC)
commit aa8f6f167c4f2685e47d29823e1015dc6069dfec
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Aug 18 12:22:37 2011 +0200
tracker-extract: Set retval to false if contents can't be read
src/tracker-extract/tracker-albumart.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart.c b/src/tracker-extract/tracker-albumart.c
index 44d461a..86a491d 100644
--- a/src/tracker-extract/tracker-albumart.c
+++ b/src/tracker-extract/tracker-albumart.c
@@ -412,6 +412,7 @@ albumart_heuristic (const gchar *artist,
g_free (buffer);
} else {
/* Can't read contents of the cover.jpg file ... */
+ retval = FALSE;
}
} else if (g_str_has_suffix (name_strdown, "png")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]