mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
journald: assert target instead of page
page is a local, yet unitialized, variable.
This commit is contained in:
parent
5b585b5380
commit
fadd79d2d8
@ -399,7 +399,7 @@ static int request_handler_redirect(
|
||||
int ret;
|
||||
|
||||
assert(connection);
|
||||
assert(page);
|
||||
assert(target);
|
||||
|
||||
if (asprintf(&page, "<html><body>Please continue to the <a href=\"%s\">journal browser</a>.</body></html>", target) < 0)
|
||||
return respond_oom(connection);
|
||||
|
Loading…
x
Reference in New Issue
Block a user