Explorar el Código

Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187)

Stéphane Raimbault hace 11 años
padre
commit
7272fb0901
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/modbus-tcp.c

+ 1 - 1
src/modbus-tcp.c

@@ -554,7 +554,7 @@ int modbus_tcp_pi_listen(modbus_t *ctx, int nb_connection)
     ctx_tcp_pi = ctx->backend_data;
 
 #ifdef OS_WIN32
-    if (modbustcp_init_win32() == -1) {
+    if (_modbus_tcp_init_win32() == -1) {
         return -1;
     }
 #endif