Commit 902c28730ab0fee6e4e9040f9883bbeb1b4d5fcc

Authored by Stéphane Raimbault
1 parent 3053bd0a

Fix typo in 3053bd0adb

Showing 1 changed file with 1 additions and 1 deletions
tests/unit-test-server.c
@@ -161,7 +161,7 @@ int main(int argc, char*argv[]) @@ -161,7 +161,7 @@ int main(int argc, char*argv[])
161 uint8_t req[] = "\x00\x1C\x00\x00\x00\x05\xFF\x03\x02\x00\x00"; 161 uint8_t req[] = "\x00\x1C\x00\x00\x00\x05\xFF\x03\x02\x00\x00";
162 int req_length = 11; 162 int req_length = 11;
163 int w_s = modbus_get_socket(ctx); 163 int w_s = modbus_get_socket(ctx);
164 - if (ws_s == -1) { 164 + if (w_s == -1) {
165 fprintf(stderr, "Unable to get a valid socket in special test\n"); 165 fprintf(stderr, "Unable to get a valid socket in special test\n");
166 continue; 166 continue;
167 } 167 }