]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journal-gatewayd.c
journald: assert target instead of page
[thirdparty/systemd.git] / src / journal / journal-gatewayd.c
index b7acfba99f6b44a64a7b62a488bfdb83e81c061f..0957dcbe5a6f423d4d447bcf43b9ca5944033e1b 100644 (file)
@@ -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);