summaryrefslogtreecommitdiffstats
path: root/bin/rcp/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcp/util.c')
-rw-r--r--bin/rcp/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c
index a8ba4c0..55c474f 100644
--- a/bin/rcp/util.c
+++ b/bin/rcp/util.c
@@ -98,7 +98,7 @@ okname(cp0)
c = *cp;
if (c & 0200)
goto bad;
- if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
+ if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.' )
goto bad;
} while (*++cp);
return (1);
OpenPOWER on IntegriCloud