summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-17 15:26:42 +0200
committerFlorian Dold <florian@dold.me>2021-05-17 15:26:51 +0200
commit905012551c8c17613753051a2b206f749e60e95d (patch)
treea70d32d57e3e92b8285677ebc889a3879d516c83 /src
parent6060c480d725ef920b74393d9d178e491b2d2d42 (diff)
downloadmerchant-905012551c8c17613753051a2b206f749e60e95d.tar.gz
merchant-905012551c8c17613753051a2b206f749e60e95d.tar.bz2
merchant-905012551c8c17613753051a2b206f749e60e95d.zip
fix mime lookup
Diffstat (limited to 'src')
-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 */