Compare commits

..

3 Commits

1
.gitignore vendored

@ -6,4 +6,5 @@ config.h
*.oo
testmodbus-server
testmodbus-server.exe
default.modbus

@ -1,3 +1,5 @@
2022-10-31:
- fixed use of uninitialized and wrong value.
2022-05-30:
- display issues with signed and unsigned int16 in the values tab.

@ -233,7 +233,7 @@ int TCP::Connect() {
err = getaddrinfo(remote_host.c_str(), remote_port.c_str(), &hints, &res);
if (err != 0) {
fprintf(stderr, "getaddrinfo: %s\n", gai_strerror(s));
fprintf(stderr, "getaddrinfo: %s\n", gai_strerror(err));
return 0;
}

Loading…
Cancel
Save