Skip to content

Commit

Permalink
Fix error in the null safefill
Browse files Browse the repository at this point in the history
  • Loading branch information
asweeney86 committed Dec 21, 2017
1 parent 4b285d3 commit 816c6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check_an_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ START_TEST(test_an_safe_fill)
ck_assert(strlen(buf) == 0);

memset(buf, '1', sizeof(buf));
an_safe_fill(buf, "NULL", 0);
an_safe_fill(buf, "NULL", sizeof(buf));
ck_assert(strlen(buf) == 0);

memset(buf, '1', sizeof(buf));
Expand Down

0 comments on commit 816c6e8

Please sign in to comment.