Christian Grothoff 2023-04-06 23:46:39 +02:00
parent d4f9417d8c
commit 36b2cbb47e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -257,7 +257,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
char *tmp = langs; char *tmp = langs;
GNUNET_asprintf (&langs, GNUNET_asprintf (&langs,
"%s %s", "%s,%s",
tmp, tmp,
p->language); p->language);
GNUNET_free (tmp); GNUNET_free (tmp);
@ -327,7 +327,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
{ {
GNUNET_break (MHD_YES == GNUNET_break (MHD_YES ==
MHD_add_response_header (resp, MHD_add_response_header (resp,
"Acceptable-Languages", "Avail-Languages",
langs)); langs));
GNUNET_free (langs); GNUNET_free (langs);
} }