Skip to content

Commit e9d339f

Browse files
riptlripatel-fd
authored andcommitted
vinyl: fix client_idx selection
1 parent 5c7ec94 commit e9d339f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vinyl/fd_vinyl_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ fd_vinyl_exec( fd_vinyl_t * vinyl ) {
429429

430430
/* Select client to poll this run loop iteration */
431431

432-
client_idx = fd_ulong_if( client_idx<client_cnt, client_idx+1UL, 0UL );
432+
client_idx = fd_ulong_if( client_idx+1UL<client_cnt, client_idx+1UL, 0UL );
433433

434434
fd_vinyl_client_t * client = _client + client_idx;
435435

0 commit comments

Comments
 (0)