summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-09-12 11:20:51 +0000
committerM. Sean Finney <seanius@users.sourceforge.net>2005-09-12 11:20:51 +0000
commit42050b45f28c1d9ac8c54a83921dbbd638adde13 (patch)
treea38a3b9007f9f65cd2acdf4ee7e3d8b5bacc619b
parentbc9840f663ea21242640f451f3db24946160563b (diff)
downloadmonitoring-plugins-42050b45f28c1d9ac8c54a83921dbbd638adde13.tar.gz
re-add a call to setlocale(LC_ALL, "") in check_ping.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1215 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_ping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index bdd39494..fc720144 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -71,6 +71,7 @@ main (int argc, char **argv)
71 int this_result = STATE_UNKNOWN; 71 int this_result = STATE_UNKNOWN;
72 int i; 72 int i;
73 73
74 setlocale (LC_ALL, "");
74 setlocale (LC_NUMERIC, "C"); 75 setlocale (LC_NUMERIC, "C");
75 bindtextdomain (PACKAGE, LOCALEDIR); 76 bindtextdomain (PACKAGE, LOCALEDIR);
76 textdomain (PACKAGE); 77 textdomain (PACKAGE);