mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-09 23:25:32 +07: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…
Reference in New Issue
Block a user