summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-10-01 09:53:33 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-02 14:56:39 +0200
commitfadd79d2d81c75321c5af597cb3abe6dedd058dc (patch)
tree07b257686cfdbc3f05c7f9a6cd3948abe9a79421
parent5b585b5380e8e9b7975905989042743911d699e2 (diff)
journald: assert target instead of page
page is a local, yet unitialized, variable.
-rw-r--r--src/journal/journal-gatewayd.c2
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);