[systemd-devel] [PATCH] journald: assert target instead of page
Lukas Nykryn
lnykryn at redhat.com
Mon Oct 1 00:53:33 PDT 2012
---
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 b7acfba..0957dcb 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);
--
1.7.6.5
More information about the systemd-devel
mailing list