projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added debugs.
[crypto.git]
/
lib
/
silcclient
/
client_prvmsg.c
diff --git
a/lib/silcclient/client_prvmsg.c
b/lib/silcclient/client_prvmsg.c
index a29ad586ad57e268ba8c924269576f1163ad8289..1f7eaf019d90a79dc514eee760b5bdbdf977cad4 100644
(file)
--- a/
lib/silcclient/client_prvmsg.c
+++ b/
lib/silcclient/client_prvmsg.c
@@
-64,8
+64,11
@@
SilcBool silc_client_send_private_message(SilcClient client,
if (silc_unlikely(!client || !conn || !client_entry))
return FALSE;
if (silc_unlikely(!client || !conn || !client_entry))
return FALSE;
- if (silc_unlikely(flags & SILC_MESSAGE_FLAG_SIGNED && !hash))
+ if (silc_unlikely(flags & SILC_MESSAGE_FLAG_SIGNED && !hash)) {
+ SILC_LOG_ERROR(("Cannot send signed message without hash, missing "
+ "arguments"));
return FALSE;
return FALSE;
+ }
if (silc_unlikely(conn->internal->disconnected))
return FALSE;
if (silc_unlikely(conn->internal->disconnected))
return FALSE;