Free stream data always in eod of stream. Added some debugs too.
[silc.git] / apps / silcd / packet_send.c
index 234b88f005bce5e5135d6ec0afa62753eef5554b..7a900109106533fcdb3e1d482658e39729a21ced 100644 (file)
@@ -295,7 +295,7 @@ void silc_server_packet_send_to_channel(SilcServer server,
   int k;
 
   /* This doesn't send channel message packets */
-  assert(type != SILC_PACKET_CHANNEL_MESSAGE);
+  SILC_ASSERT(type != SILC_PACKET_CHANNEL_MESSAGE);
 
   /* If there are global users in the channel we will send the message
      first to our router for further routing. */