Skip to content

Commit e8ee7e6

Browse files
committed
Mitigate cpp-netlib#287 from failing the build.
1 parent c150870 commit e8ee7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/network/test/utils_base64_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ BOOST_AUTO_TEST_CASE(interface_test) {
5050
BOOST_CHECK_EQUAL(result, "YWJj");
5151

5252
// check array of chars
53-
char char_array[] = { 'a', 'b', 'c' };
53+
char char_array[] = { 'a', 'b', 'c', 0 };
5454

5555
BOOST_CHECK_EQUAL(base64::encode<char>(char_array), "YWJj");
5656

0 commit comments

Comments
 (0)