|
@@ -161,7 +161,7 @@ int main(int argc, char*argv[])
|
|
uint8_t req[] = "\x00\x1C\x00\x00\x00\x05\xFF\x03\x02\x00\x00";
|
|
uint8_t req[] = "\x00\x1C\x00\x00\x00\x05\xFF\x03\x02\x00\x00";
|
|
int req_length = 11;
|
|
int req_length = 11;
|
|
int w_s = modbus_get_socket(ctx);
|
|
int w_s = modbus_get_socket(ctx);
|
|
- if (ws_s == -1) {
|
|
|
|
|
|
+ if (w_s == -1) {
|
|
fprintf(stderr, "Unable to get a valid socket in special test\n");
|
|
fprintf(stderr, "Unable to get a valid socket in special test\n");
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|