summaryrefslogtreecommitdiff
path: root/dbmodule.c
diff options
context:
space:
mode:
authoraaron <aaron@7b491191-dbf0-0310-aff6-d879d4d69008>2006-02-27 00:45:14 +0000
committeraaron <aaron@7b491191-dbf0-0310-aff6-d879d4d69008>2006-02-27 00:45:14 +0000
commit2552262d0ac2948ec0b12a0fe07d52a1303f6831 (patch)
treeb979b5c4e5ab228e7e8077fc83f44ee0cfe2a64e /dbmodule.c
parent694c42063105a2980f4bb0d5ea7fc846b0da5d90 (diff)
* sortmodule.c, modules/sortnull.c, Makefile.am, modules/Makefile.am:
Ok, let's do sortnull.c and drop the -DSHARED and -DSTATIC stuff. It now Works For Me (TM) in all combinations of shared, static, with sieve and without. git-svn-id: https://svn.ic-s.nl/svn/dbmail/trunk/dbmail@1995 7b491191-dbf0-0310-aff6-d879d4d69008
Diffstat (limited to 'dbmodule.c')
-rw-r--r--dbmodule.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/dbmodule.c b/dbmodule.c
index bbf8c00a..c1dc4454 100644
--- a/dbmodule.c
+++ b/dbmodule.c
@@ -75,9 +75,8 @@ int db_load_driver(void)
/* If the list is exhausted without opening a module, we'll catch it. */
if (!module) {
- trace(TRACE_FATAL, "%s,%s: cannot load %s: %s",
- __FILE__, __func__,
- lib, g_module_error());
+ trace(TRACE_FATAL, "%s,%s: cannot load %s",
+ __FILE__, __func__, g_module_error());
return -1;
}
@@ -99,8 +98,8 @@ int db_load_driver(void)
|| !g_module_symbol(module, "db_store_msgbuf_result", (gpointer)&db->store_msgbuf_result )
|| !g_module_symbol(module, "db_get_sql", (gpointer)&db->get_sql )
|| !g_module_symbol(module, "db_set_result_set", (gpointer)&db->set_result_set )) {
- trace(TRACE_FATAL, "%s,%s: cannot find function: %s: %s",
- __FILE__, __func__, lib, g_module_error());
+ trace(TRACE_FATAL, "%s,%s: cannot find function %s",
+ __FILE__, __func__, g_module_error());
return -2;
}