Re: [gupnp] [PATCH] Fix handling of accepted locales



Hi,

On Wed, Nov 24, 2010 at 6:57 PM, Sven Neumann <s neumann raumfeld com> wrote:
> From: Henry Hoegelow <h hoegelow raumfeld com>
>
> The code that sorts the Accept-Language header by quality leaked
> languages under certain circumstances and was overly complex.
> Replace it by a simpler implementation that sorts the returned
> list instead of trying to sort the string array in place.

  Pushed with the following redundant hunk removed. Thanks!

> @@ -295,7 +295,7 @@ http_response_set_content_locale (SoupMessage *msg,
>         http_language_from_locale (lang);
>
>         soup_message_headers_append (msg->response_headers,
> -                                     "Content-Language",
> +                                    "Content-Language",
>                                      lang);
>
>         g_free (lang);
> --
> 1.7.1
>
> --
> To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
>
>



-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com



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