projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC errno API. Added SilcResult, generic error code and
[crypto.git]
/
lib
/
silcutil
/
silcdll.c
diff --git
a/lib/silcutil/silcdll.c
b/lib/silcutil/silcdll.c
index 20acef0b20a8889babdd865f64dc8cd306448450..59ca44d50b778af146017d794194294f96567d36 100644
(file)
--- a/
lib/silcutil/silcdll.c
+++ b/
lib/silcutil/silcdll.c
@@
-38,7
+38,8
@@
SilcDll silc_dll_load(const char *object_path)
#else
/* XXX Symbian */
#endif /* SILC_UNIX */
#else
/* XXX Symbian */
#endif /* SILC_UNIX */
- SILC_LOG_ERROR(("Shared objects are not supported on this platform"));
+ silc_set_errno_reason(SILC_ERR_NOT_SUPPORTED,
+ "Shared objects are not supported on this platform");
return NULL;
}
return NULL;
}
@@
-66,7
+67,8
@@
void *silc_dll_getsym(SilcDll dll, const char *symbol)
#else
/* XXX Symbian */
#endif /* SILC_UNIX */
#else
/* XXX Symbian */
#endif /* SILC_UNIX */
- SILC_LOG_ERROR(("Shared objects are not supported on this platform"));
+ silc_set_errno_reason(SILC_ERR_NOT_SUPPORTED,
+ "Shared objects are not supported on this platform");
return NULL;
}
return NULL;
}