gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix copy and paste


From: gnunet
Subject: [taler-exchange] branch master updated: fix copy and paste
Date: Sun, 08 Dec 2019 22:52:06 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new a7624727 fix copy and paste
a7624727 is described below

commit a76247276d5bc6520ccb849e043c4f52a2b40d8b
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Dec 8 22:52:02 2019 +0100

    fix copy and paste
---
 src/exchange/taler-exchange-httpd_terms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_terms.c 
b/src/exchange/taler-exchange-httpd_terms.c
index 8d9f9190..499c09a5 100644
--- a/src/exchange/taler-exchange-httpd_terms.c
+++ b/src/exchange/taler-exchange-httpd_terms.c
@@ -202,8 +202,8 @@ TEH_handler_terms (struct TEH_RequestHandler *rh,
     lang = MHD_lookup_connection_value (connection,
                                         MHD_HEADER_KIND,
                                         MHD_HTTP_HEADER_ACCEPT_LANGUAGE);
-    if (NULL == mime)
-      mime = "text/html";
+    if (NULL == lang)
+      lang = "en";
     /* Find best match: must match mime type (if possible), and if
        mime type matches, ideally also language */
     for (unsigned int i = 0; i < terms_len; i++)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]