summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r--usr.bin/tftp/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c
index f99e7f6..c69195d 100644
--- a/usr.bin/tftp/main.c
+++ b/usr.bin/tftp/main.c
@@ -284,7 +284,7 @@ void
setbinary(argc, argv)
int argc;
char *argv[];
-{
+{
settftpmode("octet");
}
@@ -376,7 +376,7 @@ put(argc, argv)
}
/* this assumes the target is a directory */
/* on a remote unix system. hmmmm. */
- cp = index(targ, '\0');
+ cp = index(targ, '\0');
*cp++ = '/';
for (n = 1; n < argc - 1; n++) {
strcpy(cp, tail(argv[n]));
@@ -574,7 +574,7 @@ tail(filename)
char *filename;
{
register char *s;
-
+
while (*filename) {
s = rindex(filename, '/');
if (s == NULL)
OpenPOWER on IntegriCloud