setlocale(LC_ALL, "") should be setlocale(LC_NUMERIC, "C") to properly parse the output of ping.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
M. Sean Finney 2005-05-03 02:00:51 +00:00
parent 3e5b9b3d32
commit 0dd8bfec75

View file

@ -71,7 +71,7 @@ main (int argc, char **argv)
int this_result = STATE_UNKNOWN;
int i;
setlocale (LC_ALL, "");
setlocale (LC_NUMERIC, "C");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);