[tracker/wip/carlosg/test] foo




commit 1ec779f11ff3e19fe0ede8f5d4b29a7929ec6d5b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Dec 12 18:16:56 2021 +0100

    foo

 src/libtracker-sparql/tracker-remote-module.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-remote-module.c b/src/libtracker-sparql/tracker-remote-module.c
index 2ca0fd181..7b14baa2b 100644
--- a/src/libtracker-sparql/tracker-remote-module.c
+++ b/src/libtracker-sparql/tracker-remote-module.c
@@ -63,12 +63,15 @@ tracker_init_remote (void)
                                               G_MODULE_BIND_LOCAL);
                g_free (module_path);
 
-               if (!remote_module)
+               if (!remote_module) {
+                       g_printerr ("%s does not exist: %s\n", module_path, g_module_error ());
                        continue;
+               }
 
                if (!g_module_symbol (remote_module, "tracker_endpoint_http_get_type", (gpointer *) 
&remote_endpoint_get_type) ||
                    !g_module_symbol (remote_module, "tracker_endpoint_http_new", (gpointer *) 
&remote_endpoint_new) ||
                    !g_module_symbol (remote_module, "tracker_remote_connection_new", (gpointer *) 
&remote_connection_new)) {
+                       g_printerr ("ABI is wrong\n");
                        g_clear_pointer (&remote_module, g_module_close);
                        continue;
                }


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