Skip to content

Commit

Permalink
Fix macro usage after cherry pick
Browse files Browse the repository at this point in the history
Signed-off-by: rmultan <multan.rafal.k@gmail.com>
  • Loading branch information
rmultan committed Jul 24, 2024
1 parent 6a4f2d3 commit aa3d0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mares_iconhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ mares_iconhd_packet_variable (mares_iconhd_device_t *device,
}

// Verify the trailer byte.
if (packet[length - 1] != END) {
if (packet[length - 1] != EOF) {
ERROR (abstract->context, "Unexpected packet trailer byte (%02x).", packet[length - 1]);
return DC_STATUS_PROTOCOL;
}
Expand Down

0 comments on commit aa3d0bc

Please sign in to comment.