Skip to content

Commit aa3d0bc

Browse files
committed
Fix macro usage after cherry pick
Signed-off-by: rmultan <[email protected]>
1 parent 6a4f2d3 commit aa3d0bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mares_iconhd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ mares_iconhd_packet_variable (mares_iconhd_device_t *device,
358358
}
359359

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

0 commit comments

Comments
 (0)