projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
779df9f
)
tftp: fix thinko in code shrink
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 13 Feb 2020 14:03:12 +0000
(15:03 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 13 Feb 2020 14:03:12 +0000
(15:03 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index 4d608a6fb6a6621a3adddbe836b438ebc91c43bf..043747d0d3b313d08320f54334a30109f65817cc 100644
(file)
--- a/
networking/tftp.c
+++ b/
networking/tftp.c
@@
-466,7
+466,7
@@
static int tftp_protocol(
}
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)