aboutsummaryrefslogtreecommitdiffstats
path: root/tls.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2013-06-11 13:28:45 -0700
committerWayne Davison <wayned@samba.org>2013-06-11 13:28:45 -0700
commitfc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb (patch)
treed8fb90444fa2a52a98f59f35f8e878805a2fe77a /tls.c
parenta508e88fcf9797e796fb4c3d5a91d24323c477ea (diff)
downloadandroid_external_rsync-fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb.tar.gz
android_external_rsync-fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb.tar.bz2
android_external_rsync-fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb.zip
Set number_separator the first time it gets used.
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tls.c b/tls.c
index f111c02e..b84085d7 100644
--- a/tls.c
+++ b/tls.c
@@ -51,7 +51,6 @@ int link_owner = 0;
int nsec_times = 0;
int preserve_perms = 0;
int preserve_executability = 0;
-char number_separator;
#ifdef SUPPORT_XATTRS
@@ -255,12 +254,6 @@ main(int argc, char *argv[])
if (!extra_args || *extra_args == NULL)
tls_usage(1);
- snprintf(buf, sizeof buf, "%f", 3.14);
- if (strchr(buf, '.') != NULL)
- number_separator = ',';
- else
- number_separator = '.';
-
for (; *extra_args; extra_args++)
list_file(*extra_args);
poptFreeContext(pc);