summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_templating.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-19 18:20:22 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-19 18:20:22 +0200
commitee01d4150da2d4803300a82e10a0e475e7484554 (patch)
tree43144313d9f604875d763e1333d4fc62d9567378 /src/backend/taler-merchant-httpd_templating.c
parentbe099bff1d4f94d2805c3f4ad55884980372be74 (diff)
downloadmerchant-ee01d4150da2d4803300a82e10a0e475e7484554.tar.gz
merchant-ee01d4150da2d4803300a82e10a0e475e7484554.tar.bz2
merchant-ee01d4150da2d4803300a82e10a0e475e7484554.zip
adjust to exchange API change
Diffstat (limited to 'src/backend/taler-merchant-httpd_templating.c')
-rw-r--r--src/backend/taler-merchant-httpd_templating.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_templating.c b/src/backend/taler-merchant-httpd_templating.c
index 50868adb..3fcdcebe 100644
--- a/src/backend/taler-merchant-httpd_templating.c
+++ b/src/backend/taler-merchant-httpd_templating.c
@@ -20,6 +20,7 @@
*/
#include "platform.h"
#include <gnunet/gnunet_util_lib.h>
+#include <taler/taler_util.h>
#include <taler/taler_mhd_lib.h>
#include "taler-merchant-httpd_templating.h"
#include "../mustach/mustach.h"
@@ -196,10 +197,10 @@ lookup_template (struct MHD_Connection *connection,
name))
continue; /* does not match by name */
if ( (NULL == best) ||
- (TALER_MHD_language_matches (lang,
- loaded[i].lang) >
- TALER_MHD_language_matches (lang,
- best->lang) ) )
+ (TALER_language_matches (lang,
+ loaded[i].lang) >
+ TALER_language_matches (lang,
+ best->lang) ) )
best = &loaded[i];
}
if (NULL == best)