mirror of
https://kernel.googlesource.com/pub/scm/network/tftp/tftp-hpa
synced 2025-05-06 23:07:14 +03:00
A few more renames; fix <inttypes.h> emulation.
This commit is contained in:
parent
cba23571e2
commit
b46e220d49
4 changed files with 14 additions and 14 deletions
|
@ -385,7 +385,7 @@ put(int argc, char *argv[])
|
|||
printf("putting %s to %s:%s [%s]\n",
|
||||
cp, hostname, targ, mode);
|
||||
peeraddr.sin_port = port;
|
||||
sendfile(fd, targ, mode);
|
||||
tftp_sendfile(fd, targ, mode);
|
||||
return;
|
||||
}
|
||||
/* this assumes the target is a directory */
|
||||
|
@ -403,7 +403,7 @@ put(int argc, char *argv[])
|
|||
printf("putting %s to %s:%s [%s]\n",
|
||||
argv[n], hostname, targ, mode);
|
||||
peeraddr.sin_port = port;
|
||||
sendfile(fd, targ, mode);
|
||||
tftp_sendfile(fd, targ, mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -475,7 +475,7 @@ get(int argc, char *argv[])
|
|||
printf("getting from %s:%s to %s [%s]\n",
|
||||
hostname, src, cp, mode);
|
||||
peeraddr.sin_port = port;
|
||||
recvfile(fd, src, mode);
|
||||
tftp_recvfile(fd, src, mode);
|
||||
break;
|
||||
}
|
||||
cp = tail(src); /* new .. jdg */
|
||||
|
@ -488,7 +488,7 @@ get(int argc, char *argv[])
|
|||
printf("getting from %s:%s to %s [%s]\n",
|
||||
hostname, src, cp, mode);
|
||||
peeraddr.sin_port = port;
|
||||
recvfile(fd, src, mode);
|
||||
tftp_recvfile(fd, src, mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue