diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2012-10-01 09:53:33 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-02 14:56:39 +0200 |
commit | fadd79d2d81c75321c5af597cb3abe6dedd058dc (patch) | |
tree | 07b257686cfdbc3f05c7f9a6cd3948abe9a79421 | |
parent | 5b585b5380e8e9b7975905989042743911d699e2 (diff) |
journald: assert target instead of page
page is a local, yet unitialized, variable.
-rw-r--r-- | src/journal/journal-gatewayd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-gatewayd.c b/src/journal/journal-gatewayd.c index b7acfba99f..0957dcbe5a 100644 --- a/src/journal/journal-gatewayd.c +++ b/src/journal/journal-gatewayd.c @@ -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); |