On Tue, 1 Dec 2009, Matthias Drochner wrote:

>  iconv_open(3), this is more robust than trying to interpret
>  the locale string

btw nl_langinfo(3) is defined to always return a valid pointer, so the

        if (locale == NULL)
                return (-1);

is not required..

also, the locale variable can be private to obexapp_util_locale_init() as
it is not used elsewhere

regards,
iain


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[email protected]"

Reply via email to