Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner committed Sep 30, 2024
1 parent d6e3f15 commit 30f4507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nmrpflash.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Add option="-Wall" />
<Add option="-std=c99" />
<Add option="-m32" />
<Add option='-DNMRPFLASH_VERSION=\&quot;0.9.22\&quot;' />
<Add option='-DNMRPFLASH_VERSION=\&quot;0.9.24\&quot;' />
<Add option="-DWINVER=0x0600" />
<Add option="-D_WIN32_WINNT=0x0600" />
<Add option="-DWIN32_LEAN_AND_MEAN" />
Expand Down
3 changes: 3 additions & 0 deletions tftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 30f4507

Please sign in to comment.