Browse code

Merge d09cd1402138674baf0531d227512bf3324334ac into 9f3d1c274ad926e9640d0091c9702a34f8b2e539

Boris Korzun authored on 10/08/2022 09:44:15 • GitHub committed on 10/08/2022 09:44:15
Showing 1 changed files
... ...
@@ -347,6 +347,9 @@ int ksr_version_control(void *handle, char *path)
347 347
 	char **m_flags;
348 348
 	char* error;
349 349
 
350
+#ifdef __FreeBSD__
351
+    (void) dlerror();
352
+#endif
350 353
 	m_ver=(char **)dlsym(handle, "module_version");
351 354
 	if ((error=(char *)dlerror())!=0) {
352 355
 		LM_ERR("no version info in module <%s>: %s\n", path, error);