aboutsummaryrefslogtreecommitdiff
path: root/src/templating
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-11-15 22:32:37 +0100
committerChristian Grothoff <christian@grothoff.org>2023-11-15 22:32:37 +0100
commitdf6d4a7f69c96a2aaba13f558a423ffafeb3e100 (patch)
tree3790abe2f58f99028bcbe572f1f7bca9d83f92d0 /src/templating
parenta2feb9512d5bbe211346ccfc6ff5390c91ffb25d (diff)
-logging
Diffstat (limited to 'src/templating')
-rw-r--r--src/templating/templating_api.c5
1 files changed, 2 insertions, 3 deletions
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;