Fixed unit test for make_random_string()

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2019-11-27 20:14:54 +01:00
parent ce193974f1
commit 107d88db99

View File

@ -96,7 +96,7 @@ static void test_make_random_string(){
TEST_HEADER(); TEST_HEADER();
for(i=0; i<10; i++){ for(i=0; i<10; i++){
make_random_string(buf, sizeof(buf)-1); make_random_string((unsigned char*)&buf[0], QUEUE_ID_LEN);
printf("%s ", buf); printf("%s ", buf);
} }