From: Pekka Riikonen Date: Tue, 23 Nov 2004 15:59:12 +0000 (+0000) Subject: More Debug X-Git-Tag: silc.server.0.9.19~56 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=6f478c5f0e238f11d80a44581344c770e1b72cb7;p=silc.git More Debug --- diff --git a/lib/silccore/silccommand.c b/lib/silccore/silccommand.c index a16dfc6f..7a3eeb1c 100644 --- a/lib/silccore/silccommand.c +++ b/lib/silccore/silccommand.c @@ -64,12 +64,13 @@ SilcCommandPayload silc_command_payload_parse(const unsigned char *payload, SILC_STR_UI_SHORT(&newp->ident), SILC_STR_END); if (ret == -1) { + SILC_LOG_ERROR(("Incorrect command payload in packet")); silc_free(newp); return NULL; } if (p_len != buffer.len) { - SILC_LOG_ERROR(("Incorrect command payload in packet, packet dropped")); + SILC_LOG_ERROR(("Incorrect command payload in packet")); silc_free(newp); return NULL; }