Commit 7272fb09011138fd49288ef06b732c2b13dfeaa7
1 parent
270f02c8
Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187)
Showing
1 changed file
with
1 additions
and
1 deletions
src/modbus-tcp.c
| @@ -554,7 +554,7 @@ int modbus_tcp_pi_listen(modbus_t *ctx, int nb_connection) | @@ -554,7 +554,7 @@ int modbus_tcp_pi_listen(modbus_t *ctx, int nb_connection) | ||
| 554 | ctx_tcp_pi = ctx->backend_data; | 554 | ctx_tcp_pi = ctx->backend_data; |
| 555 | 555 | ||
| 556 | #ifdef OS_WIN32 | 556 | #ifdef OS_WIN32 |
| 557 | - if (modbustcp_init_win32() == -1) { | 557 | + if (_modbus_tcp_init_win32() == -1) { |
| 558 | return -1; | 558 | return -1; |
| 559 | } | 559 | } |
| 560 | #endif | 560 | #endif |