mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Correct messages in WIN32 net_recv()
This commit is contained in:
@@ -486,12 +486,12 @@ reselect:
|
||||
nfds = select(fd->ifd + 1, &rfds, NULL, NULL, &to2);
|
||||
if (nfds == 0) {
|
||||
if (verbose > 1) {
|
||||
pmsg_notice("ser_recv(): programmer is not responding\n");
|
||||
pmsg_notice("net_recv(): programmer is not responding\n");
|
||||
}
|
||||
return -1;
|
||||
} else if (nfds == -1) {
|
||||
if (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEINPROGRESS) {
|
||||
pmsg_notice("ser_recv(): programmer is not responding, reselecting\n");
|
||||
pmsg_notice("net_recv(): programmer is not responding, reselecting\n");
|
||||
goto reselect;
|
||||
} else {
|
||||
FormatMessage(
|
||||
|
Reference in New Issue
Block a user