Closed oldfaber closed 12 years ago
Already fixed in master and stable branches, why are you patching the tarball?!
Because I don't speak git? I also have more minor fixes for Microsoft compiler and bigger changes for creating a Windows DLL from the library. Could you accept patches ? I will learn git, but have no time now.
Regards Fabio
Yes I accept patches of course but you can download the latest code as tarball/zip from github to avoid to work on old code.
A semicolon is missing. Please apply.
Best regards.
oldfaber
--- libmodbus-3.0.2\src\modbus-rtu.c 2012-01-25 05:29:36.000000000 +0100 +++ libmodbus-3.0.2-new\src\modbus-rtu.c 2012-04-17 15:22:20.640656500 +0200 @@ -351,7 +351,7 @@ if (!GetCommState(ctx_rtu->w_ser.fd, &ctx_rtu->old_dcb)) { fprintf(stderr, "ERROR Error getting configuration (LastError %d)\n", (int)GetLastError());