Code

setlocale(LC_ALL, "") should be setlocale(LC_NUMERIC, "C") to properly parse the...
authorM. Sean Finney <seanius@users.sourceforge.net>
Tue, 3 May 2005 02:00:51 +0000 (02:00 +0000)
committerM. Sean Finney <seanius@users.sourceforge.net>
Tue, 3 May 2005 02:00:51 +0000 (02:00 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_ping.c

index bd7911d7c2b4c7b1b8ffe49ed3520e3c9ece8795..74b6fce2097cb82bfd3afd22745a43b81bacaf5e 100644 (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);