summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/taler-merchant-httpd_statics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_statics.c b/src/backend/taler-merchant-httpd_statics.c
index ea94d9bf..69331087 100644
--- a/src/backend/taler-merchant-httpd_statics.c
+++ b/src/backend/taler-merchant-httpd_statics.c
@@ -173,7 +173,7 @@ load_static_file (void *cls,
if (NULL == end)
{
/* language was not present, we ONLY have the extension */
- end = lang;
+ end = lang - 1;
lang = NULL;
}
/* finally open template */