[tracker/wip/carlosg/test] foo




commit 8f1f31cd3acead8a11c23bc6f300538e76c54d02
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jul 28 15:33:50 2021 +0200

    foo

 src/libtracker-sparql/tracker-remote-module.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/libtracker-sparql/tracker-remote-module.c b/src/libtracker-sparql/tracker-remote-module.c
index 2ca0fd181..5dd4a4d7a 100644
--- a/src/libtracker-sparql/tracker-remote-module.c
+++ b/src/libtracker-sparql/tracker-remote-module.c
@@ -61,6 +61,8 @@ tracker_init_remote (void)
                remote_module = g_module_open (module_path,
                                               G_MODULE_BIND_LAZY |
                                               G_MODULE_BIND_LOCAL);
+               if (!remote_module)
+                       g_warning ("No module at %s", module_path);
                g_free (module_path);
 
                if (!remote_module)
@@ -69,6 +71,7 @@ tracker_init_remote (void)
                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_warning ("No symbols %p %p %p", remote_endpoint_get_type, remote_endpoint_new, 
remote_connection_new);
                        g_clear_pointer (&remote_module, g_module_close);
                        continue;
                }


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