← Commit list

0c4e5977d

Denys Vlasenko
Denys Vlasenko
2020-02-13
SUCCESS Duration: 150s

Subject

tftp: fix thinko in code shrink

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tftp.c+1 -1
@@ -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)