diff options
| author | 2025-02-22 10:29:15 -0500 | |
|---|---|---|
| committer | 2025-02-22 10:29:15 -0500 | |
| commit | 000ce1f671d1f05b76202fd128e272e4ac9da683 (patch) | |
| tree | 315812307bd8c5b7ab0efedfd29a43e52c270989 /src/liana | |
| parent | c7f00bb4a70e94a5b0ded8255e34e094e884f7a0 (diff) | |
| download | camu-000ce1f671d1f05b76202fd128e272e4ac9da683.tar.gz camu-000ce1f671d1f05b76202fd128e272e4ac9da683.tar.bz2 camu-000ce1f671d1f05b76202fd128e272e4ac9da683.zip | |
Support new stl_global_init()
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/liana')
| -rw-r--r-- | src/liana/list.c | 2 | ||||
| -rw-r--r-- | src/liana/list.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/liana/list.c b/src/liana/list.c index ca8aaa5..cccca8e 100644 --- a/src/liana/list.c +++ b/src/liana/list.c @@ -634,7 +634,7 @@ static bool handle_shuffle(struct lia_list *list) exchange a[i] and a[j] */ // Changed size - 2 to size - 1 to support 2 entry lists. - // I assume this alters the algorithm, not sure how badly. + // I assume that alters the algorithm, not sure how badly. for (u32 i = 0; i < size - 1; i++) { u32 j = i + (al_rand() % (size - i)); SWAP(al_array_at(list->entries, i), al_array_at(list->entries, j)); diff --git a/src/liana/list.h b/src/liana/list.h index 4b1ae02..86064af 100644 --- a/src/liana/list.h +++ b/src/liana/list.h @@ -7,8 +7,8 @@ #define LIANA_SEQUENCE_ANY -1 #define LIANA_TIMESTAMP_INVALID ((u64)-1) -#define LIANA_BASE_DELAY 750000Lu // 750ms -#define LIANA_BASE_PING 150000Lu // 150ms +#define LIANA_BASE_DELAY 450000Lu // 450ms +#define LIANA_BASE_PING 125000Lu // 125ms #define LIANA_PAUSE_DELAY LIANA_BASE_PING #define LIANA_DELAY_IGNORE 0Lu |