Changeset 3552
- Timestamp:
- 08/18/08 09:40:26 (4 months ago)
- Location:
- trunk/opensync
- Files:
-
- 2 modified
-
module/opensync_module.c (modified) (5 diffs)
-
plugin/opensync_plugin_env.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/opensync/module/opensync_module.c
r2649 r3552 76 76 void *osync_module_get_function(OSyncModule *module, const char *name, OSyncError **error) 77 77 { 78 osync_assert(module); 79 osync_assert(name); 80 78 81 void *function = NULL; 79 82 if (!module->module) { … … 83 86 84 87 if (!g_module_symbol(module->module, name, &function)) { 85 osync_error_set(error, OSYNC_ERROR_PARAMETER, "Unable to locate symbol %s: %s", name, g_module_error());88 osync_error_set(error, OSYNC_ERROR_PARAMETER, "Unable to locate symbol %s: %s", __NULLSTR(name), g_module_error()); 86 89 return NULL; 87 90 } … … 164 167 int osync_module_get_version(OSyncModule *module) 165 168 { 169 osync_assert(module); 170 166 171 void *function = NULL; 167 172 int (* fct_version)(void) = NULL; … … 217 222 { 218 223 osync_trace(TRACE_ENTRY, "%s(%p, %s, %p)", __func__, module, path, error); 224 osync_assert(module); 219 225 osync_assert(!module->module); 220 226 … … 250 256 { 251 257 osync_trace(TRACE_ENTRY, "%s(%p)", __func__, module); 258 osync_assert(module); 252 259 osync_assert(module->module); 253 260 -
trunk/opensync/plugin/opensync_plugin_env.c
r3536 r3552 82 82 { 83 83 osync_trace(TRACE_ENTRY, "%s(%p)", __func__, env); 84 g_assert(env);84 osync_assert(env); 85 85 86 86 /* Free the plugins */
