Introduced nxt_length() macro.

This commit is contained in:
Valentin Bartenev
2018-06-25 16:51:47 +03:00
parent af31012815
commit 1a52d876f7
28 changed files with 101 additions and 99 deletions

View File

@@ -180,7 +180,7 @@ nxt_random_test(nxt_thread_t *thr)
r.count = 400000;
nxt_random_add(&r, (u_char *) "arc4random", sizeof("arc4random") - 1);
nxt_random_add(&r, (u_char *) "arc4random", nxt_length("arc4random"));
/*
* Test arc4random() numbers.