discover: Add setlocale calls in discover server
authorJeremy Kerr <jk@ozlabs.org>
Mon, 28 Jul 2014 04:09:14 +0000 (12:09 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 28 Jul 2014 06:23:11 +0000 (14:23 +0800)
commit2a44f3c936f948d6fedc4729dbf2216da558e490
tree6b225bea0cf0969c5fa1767c19aa7fe7f1d7d499
parent9330aba60a05a8d9889dab42bc92b9ebbc55941b
discover: Add setlocale calls in discover server

We want the discover server to respect the configured language, so we'll
need to add appropriate setlocale() calls. We use the config->lang
setting to use any previously-saved language.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/Makefile.am
discover/device-handler.c
discover/pb-discover.c