From df6d4a7f69c96a2aaba13f558a423ffafeb3e100 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Nov 2023 22:32:37 +0100 Subject: -logging --- contrib/gana | 2 +- src/templating/templating_api.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/contrib/gana b/contrib/gana index 78712599c..27de07655 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit 78712599c45ec873829c5111ee2f95116548baed +Subproject commit 27de076550489d6ca0b99822121579e02fee4cf2 diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index efe020761..3bda7de55 100644 --- a/src/templating/templating_api.c +++ b/src/templating/templating_api.c @@ -100,7 +100,7 @@ lookup_template (struct MHD_Connection *connection, if (NULL == best) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "No templates found in `%s'\n", + "No templates found for `%s'\n", name); return NULL; } @@ -360,7 +360,6 @@ load_template (void *cls, (void) cls; if ('.' == filename[0]) return GNUNET_OK; - name = strrchr (filename, '/'); if (NULL == name) @@ -395,7 +394,7 @@ load_template (void *cls, &sb)) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, - "open", + "fstat", filename); GNUNET_break (0 == close (fd)); return GNUNET_OK; -- cgit v1.2.3