X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_restore.c;h=d75247dc9e299943ad44bbfa05841ff62105abbe;hp=fc6f17be4ea6148755b8e45654969a1dec0d237f;hb=4dca5ee2d9ec2f43fec94911b5c4c00930051229;hpb=6a0490ebd1433e810f3f68a2493207a8bd882314 diff --git a/src/rrd_restore.c b/src/rrd_restore.c index fc6f17b..d75247d 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -1256,15 +1256,11 @@ int rrd_restore( return (-1); } -#ifdef HAVE_SETLOCALE old_locale = setlocale(LC_NUMERIC, "C"); -#endif rrd = parse_file(argv[optind]); -#ifdef HAVE_SETLOCALE setlocale(LC_NUMERIC, old_locale); -#endif if (rrd == NULL) return (-1);