Skip to content

Commit

Permalink
dispatcher: fix partition parsing ending
Browse files Browse the repository at this point in the history
(cherry picked from commit 2a70e61)
  • Loading branch information
razvancrainea committed Nov 21, 2023
1 parent 6aea864 commit e8781b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/dispatcher/dispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ static int set_partition_arguments(unsigned int type, void *val)
}
}

raw_line.len -= end_pair_pos + 1 - raw_line.s;
raw_line.s = end_pair_pos + 1;
end_pair_pos = q_memchr(raw_line.s, end_pair_delim, raw_line.len);
eq_pos = q_memchr(raw_line.s, eq_val_delim, raw_line.len);
Expand Down

0 comments on commit e8781b9

Please sign in to comment.