updates.
[silc.git] / lib / silcutil / silcbuffmt.c
index 7faae5463aad65cd77a13da2b03031cdf2eaec99..ae5a27aecd8f65abb1ff56608de55f6666b5e4c4 100644 (file)
@@ -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: