Merged silc_1_0_branch to trunk.
[crypto.git] / lib / silccore / silccommand.c
index a16dfc6fce792b6e0c8edfe1ac0d17265120b219..7a3eeb1c75da9b79ebff95e1cc404daadd191a9d 100644 (file)
@@ -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;
   }