Commit aab9281
committed
src/modbus.c: _modbus_receive_msg(): if ctx->backend->select() failed on WIN32, and we follow MODBUS_ERROR_RECOVERY_LINK, do modbus_flush(ctx)
At least this allows unit-tests to pass...
Signed-off-by: Jim Klimov <[email protected]>1 parent 376d016 commit aab9281
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| 430 | + | |
| 431 | + | |
430 | 432 | | |
431 | 433 | | |
432 | 434 | | |
| |||
0 commit comments