diff --git a/src/message.c b/src/message.c index 0c9cb64..d73fe75 100644 --- a/src/message.c +++ b/src/message.c @@ -12,5 +12,6 @@ message_validate(const union Message* message) { if(message->header.crc != crc16(message, length - sizeof(struct Footer))) return MESSAGEERR_FOOTERCRC; + return MESSAGEERR_NONE; }