summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-07 00:16:57 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-07 00:16:57 -0500
commit43fd60983efaaf4a475ee6a0d09395611b4aa6f8 (patch)
tree461178275802e344c1cf88f34db8ec043cd2c866
parent08ac01d1308b07a3b41797653848c66a82a36aac (diff)
Use '\0' for NULL in c strings.
-rw-r--r--tests/test_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_send.c b/tests/test_send.c
index fecb2596..3a18ff30 100644
--- a/tests/test_send.c
+++ b/tests/test_send.c
@@ -34,7 +34,7 @@ START_TEST (test_send_empty_payload)
fail_unless(handle.completed);
ck_assert_int_eq(last_message_sent_arb_id, arbitration_id);
fail_unless(last_message_sent_status);
- ck_assert_int_eq(last_message_sent_payload[0], NULL);
+ ck_assert_int_eq(last_message_sent_payload[0], '\0');
ck_assert_int_eq(last_message_sent_payload_size, 0);
ck_assert_int_eq(last_can_frame_sent_arb_id, arbitration_id);