diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-10-02 11:35:29 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-10-02 11:35:29 +0200 |
| commit | 425a2e48c0f8266d5df0a1c2b40e3c176e40b283 (patch) | |
| tree | 9ad4006515af9e3f75f3c54e374fd7d041c96e4e | |
| parent | 33c632d11ee9438bb1e25c5ba720c6cf6037fe27 (diff) | |
Fix wrong function names on failure
| -rw-r--r-- | auth.c | 2 | ||||
| -rw-r--r-- | page.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) @@ -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; } |
