projects
/
crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
712edb8
)
Removed wrong errno setting.
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 22 Dec 2007 20:25:58 +0000
(20:25 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 22 Dec 2007 20:25:58 +0000
(20:25 +0000)
lib/silcutil/silchashtable.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/silchashtable.c
b/lib/silcutil/silchashtable.c
index 027325b0affe559eda69fcdc71b6f06b7ddfae5d..4a82a515443b0a0cf779c21b494d0d814645fcc2 100644
(file)
--- a/
lib/silcutil/silchashtable.c
+++ b/
lib/silcutil/silchashtable.c
@@
-805,10
+805,8
@@
void silc_hash_table_foreach(SilcHashTable ht, SilcHashForeach foreach,
int i;
SilcBool auto_rehash;
- if (!foreach) {
- silc_set_errno(SILC_ERR_INVALID_ARGUMENT);
- return FALSE;
- }
+ if (!foreach)
+ return;
auto_rehash = ht->auto_rehash;
ht->auto_rehash = FALSE;