summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 0f110baa3..5a600953e 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -260,7 +260,8 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
{
langs = GNUNET_strdup (p->language);
}
- else
+ else if (NULL == strstr (langs,
+ p->language))
{
char *tmp = langs;