[tracker] libtracker-extract: Pass the right struct pointer



commit f39c2de2cbef9964069574eb71adb0a9512a29d6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Nov 19 23:41:43 2016 +0100

    libtracker-extract: Pass the right struct pointer
    
    Confusion between TrackerExtractInfo and TrackerDecoratorInfo, might
    induce crashes.

 src/tracker-extract/tracker-extract-decorator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-decorator.c b/src/tracker-extract/tracker-extract-decorator.c
index 69bfb0d..6deab0b 100644
--- a/src/tracker-extract/tracker-extract-decorator.c
+++ b/src/tracker-extract/tracker-extract-decorator.c
@@ -154,7 +154,7 @@ decorator_save_info (TrackerSparqlBuilder    *sparql,
 
        if (resource == NULL) {
                g_message ("Extract module returned no resource for %s",
-                          tracker_decorator_info_get_url (info));
+                          tracker_decorator_info_get_url (decorator_info));
                /* We must still insert something into the store so that the correct
                 * nie:dataSource triple get inserted. Otherwise, tracker-extract will
                 * try to re-extract this file every time it starts.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]