[tracker/miner-web] Don't pick empty strings when coalescing data.
- From: Adrien Bustany <abustany src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/miner-web] Don't pick empty strings when coalescing data.
- Date: Thu, 5 Nov 2009 03:05:53 +0000 (UTC)
commit 33292604671eb3239d48a319f0a24bb33d3b7b93
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Nov 3 14:55:16 2009 +0100
Don't pick empty strings when coalescing data.
src/libtracker-common/tracker-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-utils.c b/src/libtracker-common/tracker-utils.c
index f10bbec..0bce806 100644
--- a/src/libtracker-common/tracker-utils.c
+++ b/src/libtracker-common/tracker-utils.c
@@ -514,7 +514,7 @@ tracker_coalesce (gint n_values,
value = va_arg (args, gchar *);
if (value) {
- if (!result) {
+ if (*value && !result) {
result = value;
} else {
g_free (value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]