projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[silc.git]
/
lib
/
silcutil
/
silcbuffmt.c
diff --git
a/lib/silcutil/silcbuffmt.c
b/lib/silcutil/silcbuffmt.c
index 7faae5463aad65cd77a13da2b03031cdf2eaec99..ae5a27aecd8f65abb1ff56608de55f6666b5e4c4 100644
(file)
--- a/
lib/silcutil/silcbuffmt.c
+++ b/
lib/silcutil/silcbuffmt.c
@@
-145,6
+145,9
@@
int silc_buffer_format(SilcBuffer dst, ...)
fail:
SILC_LOG_DEBUG(("Error occured while formatting data"));
+#ifdef SILC_DEBUG
+ assert(FALSE);
+#endif
return -1;
ok:
@@
-367,6
+370,9
@@
int silc_buffer_unformat(SilcBuffer src, ...)
fail:
SILC_LOG_DEBUG(("Error occured while unformatting buffer"));
+#ifdef SILC_DEBUG
+ assert(FALSE);
+#endif
return -1;
ok: