projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added preliminary support for non-backup-aware servers in cell
[silc.git]
/
apps
/
silcd
/
packet_send.c
diff --git
a/apps/silcd/packet_send.c
b/apps/silcd/packet_send.c
index 5a60a9f9c00d7fb648876c2808f16e84143cf31a..b159c9314a66ea41108ddb1082739c8efc421b7c 100644
(file)
--- a/
apps/silcd/packet_send.c
+++ b/
apps/silcd/packet_send.c
@@
-97,8
+97,10
@@
void silc_server_packet_send(SilcServer server,
return;
/* If entry is disabled do not sent anything. */
return;
/* If entry is disabled do not sent anything. */
- if (idata && idata->status & SILC_IDLIST_STATUS_DISABLED)
+ if (idata && idata->status & SILC_IDLIST_STATUS_DISABLED) {
+ SILC_LOG_DEBUG(("Connection is disabled"));
return;
return;
+ }
/* Get data used in the packet sending, keys and stuff */
switch(sock->type) {
/* Get data used in the packet sending, keys and stuff */
switch(sock->type) {
@@
-157,8
+159,10
@@
void silc_server_packet_send_dest(SilcServer server,
idata = (SilcIDListData)sock->user_data;
/* If entry is disabled do not sent anything. */
idata = (SilcIDListData)sock->user_data;
/* If entry is disabled do not sent anything. */
- if (idata && idata->status & SILC_IDLIST_STATUS_DISABLED)
+ if (idata && idata->status & SILC_IDLIST_STATUS_DISABLED) {
+ SILC_LOG_DEBUG(("Connection is disabled"));
return;
return;
+ }
SILC_LOG_DEBUG(("Sending %s packet", silc_get_packet_name(type)));
SILC_LOG_DEBUG(("Sending %s packet", silc_get_packet_name(type)));