projects
/
crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f0294
)
SILC_ASSERT added (debugging).
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 7 Dec 2006 17:03:04 +0000
(17:03 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 7 Dec 2006 17:03:04 +0000
(17:03 +0000)
lib/silcapputil/silcidcache.c
patch
|
blob
|
history
diff --git
a/lib/silcapputil/silcidcache.c
b/lib/silcapputil/silcidcache.c
index 0c733276ddc4cd9d743d17920c3e0fe46627db05..c0824b2cd5a373bd759f47a92f812a2ba5f9abd8 100644
(file)
--- a/
lib/silcapputil/silcidcache.c
+++ b/
lib/silcapputil/silcidcache.c
@@
-141,7
+141,9
@@
silc_idcache_add(SilcIDCache cache, char *name, void *id, void *context)
if (id) {
if (silc_idcache_find_by_id_one(cache, id, NULL)) {
- SILC_LOG_ERROR(("Attempted to add same ID twice to ID Cache"));
+ SILC_LOG_ERROR(("Attempted to add same ID twice to ID Cache, id %s",
+ silc_id_render(id, cache->id_type)));
+ SILC_ASSERT(FALSE);
goto err;
}
if (!silc_hash_table_add(cache->id_table, id, c))