mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
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:
parent
3e5b9b3d32
commit
0dd8bfec75
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue