[tracker/avoid-album-art-duplicates] Fix squash
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/avoid-album-art-duplicates] Fix squash
- Date: Thu, 18 Aug 2011 13:47:04 +0000 (UTC)
commit 8ac60277ac580295bf589c94a4f72b6e69863cc1
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Aug 18 15:46:58 2011 +0200
Fix squash
src/tracker-extract/tracker-albumart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart.c b/src/tracker-extract/tracker-albumart.c
index 48f3176..0cf7b22 100644
--- a/src/tracker-extract/tracker-albumart.c
+++ b/src/tracker-extract/tracker-albumart.c
@@ -138,7 +138,7 @@ file_get_checksum_if_exists (GChecksumType checksum_type,
}
}
- while ((rsize = g_input_stream_read (G_INPUT_STREAM (stream), buffer, 1024, NULL, NULL)) != 0) {
+ while ((rsize = g_input_stream_read (G_INPUT_STREAM (stream), buffer, 1024, NULL, NULL)) > 0) {
g_checksum_update (checksum, buffer, rsize);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]