projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed wrong SILC_LOG_ERROR and assert check from silc_idcache_add.
[runtime.git]
/
lib
/
silcapputil
/
silcidcache.c
diff --git
a/lib/silcapputil/silcidcache.c
b/lib/silcapputil/silcidcache.c
index a6d8c26edeb7e4a49ad77917f76deb19c8f1e185..831970d5dd940e3b298795f8863e2fbbe91b396a 100644
(file)
--- a/
lib/silcapputil/silcidcache.c
+++ b/
lib/silcapputil/silcidcache.c
@@
-142,9
+142,8
@@
silc_idcache_add(SilcIDCache cache, char *name, void *id, void *context)
if (id) {
/* See if this entry is added already to cache */
if (silc_idcache_find_by_id_one(cache, id, NULL)) {
if (id) {
/* See if this entry is added already to cache */
if (silc_idcache_find_by_id_one(cache, id, NULL)) {
- SILC_LOG_
ERROR
(("Attempted to add same ID twice to ID Cache, id %s",
+ SILC_LOG_
DEBUG
(("Attempted to add same ID twice to ID Cache, id %s",
silc_id_render(id, cache->id_type)));
silc_id_render(id, cache->id_type)));
- SILC_ASSERT(FALSE);
goto err;
}
}
goto err;
}
}