Bump version
This commit is contained in:
parent
d6e3f15d55
commit
30f45072b9
2 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
<Add option="-Wall" />
|
||||
<Add option="-std=c99" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DNMRPFLASH_VERSION=\"0.9.22\"' />
|
||||
<Add option='-DNMRPFLASH_VERSION=\"0.9.24\"' />
|
||||
<Add option="-DWINVER=0x0600" />
|
||||
<Add option="-D_WIN32_WINNT=0x0600" />
|
||||
<Add option="-DWIN32_LEAN_AND_MEAN" />
|
||||
|
|
3
tftp.c
3
tftp.c
|
@ -491,6 +491,9 @@ ssize_t tftp_put(struct nmrpd_args *args)
|
|||
}
|
||||
|
||||
ret = tftp_recvfrom(sock, rx, &port, rx_timeout, blksize + 4);
|
||||
|
||||
// stop calling nmrp_discard() if the last call didn't actually discard anything.
|
||||
// this turned out to be a major bottleneck on Windows, each call blocking > 10ms
|
||||
if (discard) {
|
||||
discard &= nmrp_discard(args->sock);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue