← Commit list

fad90db88

Glenn L McGrath
Glenn L McGrath
2002-12-09
SOURCE BUG Duration: 6s

Subject

Fix a debug message, from Bastian Blank

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

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+3 -3
@@ -407,9 +407,9 @@ static inline int tftp(const int cmd, const struct hostent *host,
"blksize");
if (res) {
- int foo = atoi(res);
+ int blksize = atoi(res);
- if (tftp_blocksize_check(foo,
+ if (tftp_blocksize_check(blksize,
tftp_bufsize - 4)) {
if (cmd_put) {
@@ -419,7 +419,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
opcode = TFTP_ACK;
}
#ifdef CONFIG_FEATURE_TFTP_DEBUG
- printf("using blksize %u\n");
+ printf("using blksize %u\n", blksize);
#endif
tftp_bufsize = foo + 4;
block_nr = 0;