[gupnp] Fix Accept-Language header generation



commit 21fccb67689e717828c2fba44aa72d63d2321cd0
Author: Jens Georg <mail jensge org>
Date:   Sun Dec 9 21:42:50 2012 +0100

    Fix Accept-Language header generation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683199

 libgupnp/http-headers.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp/http-headers.c b/libgupnp/http-headers.c
index 1631809..8f70acb 100644
--- a/libgupnp/http-headers.c
+++ b/libgupnp/http-headers.c
@@ -118,7 +118,8 @@ http_request_set_accept_language (SoupMessage *message)
         int dash_index;
         GString *tmp;
 
-        locale = setlocale (LC_ALL, NULL);
+        locale = setlocale (LC_MESSAGES, NULL);
+
         if (locale == NULL)
                 return;
 



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