mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
journal-gatewayd: remove duplicate call to startswith()
This commit is contained in:
parent
224e0a8a90
commit
c5d6754725
@ -447,7 +447,7 @@ static int request_parse_range(
|
||||
}
|
||||
|
||||
range_after_eq = startswith(range, "realtime=");
|
||||
if (startswith(range, "realtime=")) {
|
||||
if (range_after_eq) {
|
||||
range_after_eq += strspn(range_after_eq, WHITESPACE);
|
||||
return request_parse_range_time(m, range_after_eq);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user