commit | 0c4e5977dfc32b54e452cd88a9cf14afde29c89d | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 13 15:03:12 2020 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 13 15:03:12 2020 +0100 |
tree | 210cf6c66dcaccb3bdec881d48ea5a5f4c51aa51 | |
parent | 779df9f228789034ef23f856f855147bdb729958 [diff] |
tftp: fix thinko in code shrink Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/networking/tftp.c b/networking/tftp.c index 4d608a6..043747d 100644 --- a/networking/tftp.c +++ b/networking/tftp.c
@@ -466,7 +466,7 @@ } cp = stpcpy(cp, remote_file) + 1; /* add "mode" part of the packet */ - cp = stpcpy(cp, "octet"); + cp = stpcpy(cp, "octet") + 1; # if ENABLE_FEATURE_TFTP_BLOCKSIZE if (blksize == TFTP_BLKSIZE_DEFAULT && !want_transfer_size)