aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth.c2
-rw-r--r--page.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/auth.c b/auth.c
index 8190687..ec8c75c 100644
--- a/auth.c
+++ b/auth.c
@@ -337,7 +337,7 @@ int auth_login(const struct auth *const a, const char *const user,
if (res < 0)
{
- fprintf(stderr, "%s: generate_cookie failed\n", __func__);
+ fprintf(stderr, "%s: compare_pwd failed\n", __func__);
goto end;
}
else if (!res)
diff --git a/page.c b/page.c
index 1966200..2365b44 100644
--- a/page.c
+++ b/page.c
@@ -1041,7 +1041,7 @@ static int prepare_footer(struct html_node *const n)
}
else if (html_node_set_value_unescaped(footer, d.str))
{
- fprintf(stderr, "%s: html_node_add_child a failed\n", __func__);
+ fprintf(stderr, "%s: html_node_set_value_unescaped failed\n", __func__);
goto end;
}