X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fpacket_send.c;h=818ec0f015a3209a108a4fb571c705535f1842f2;hb=a93321c8c98c4a84f5b3aefbb4f013d8978ec9b8;hp=18c4011d78832fd33513f9b97a0c66556ccaba15;hpb=d56ab2d482dd7f21ceb3b18a1f4fe833bc0a9c3f;p=silc.git diff --git a/apps/silcd/packet_send.c b/apps/silcd/packet_send.c index 18c4011d..818ec0f0 100644 --- a/apps/silcd/packet_send.c +++ b/apps/silcd/packet_send.c @@ -596,7 +596,8 @@ void silc_server_packet_send_to_channel(SilcServer server, goto out; } - SILC_LOG_DEBUG(("Sending packet to channel %s", channel->channel_name)); + SILC_LOG_DEBUG(("Sending %s packet to channel %s", + silc_get_packet_name(type), channel->channel_name)); routed = silc_calloc(silc_hash_table_count(channel->user_list), sizeof(*routed)); @@ -636,6 +637,10 @@ void silc_server_packet_send_to_channel(SilcServer server, gone = TRUE; } + SILC_LOG_DEBUG(("Sending packet to client %s", + client->nickname ? client->nickname : + (unsigned char *)"")); + /* Send the packet */ silc_server_packet_send_to_channel_real(server, sock, &packetdata, idata->send_key, @@ -661,6 +666,10 @@ void silc_server_packet_send_to_channel(SilcServer server, if (!sock || (sender && sock == sender)) continue; + SILC_LOG_DEBUG(("Sending packet to client %s", + client->nickname ? client->nickname : + (unsigned char *)"")); + /* Send the packet */ silc_server_packet_send_to_channel_real(server, sock, &packetdata, idata->send_key,