Skip to content
Snippets Groups Projects
Commit 9ab1c0eb authored by Simon McVittie's avatar Simon McVittie
Browse files

utils: Factor out _srt_string_ends_with_len()


If the length is already known, this avoids recalculating it (and if
the suffix contains embedded NULs, this makes it possible to check for).

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 9ec469a4
Branches
Tags
1 merge request!781Test coverage and refactoring in preparation for steamrt/tasks#595
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment