mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:30:12 +01:00
Fixed unit test for make_random_string()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
ce193974f1
commit
107d88db99
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user