Commit 1d758ca214bfb792c82c6d8e545c2e3e00fa05c0
Committed by
Stéphane Raimbault
1 parent
9d3b1286
docs: fix simple typo, reponse -> response
There is a small typo in tests/bandwidth-client.c. Should read `response` rather than `reponse`.
Showing
1 changed file
with
3 additions
and
3 deletions
tests/bandwidth-client.c
| @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) | @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) | ||
| 116 | printf("* %d KiB/s\n", rate); | 116 | printf("* %d KiB/s\n", rate); |
| 117 | printf("\n"); | 117 | printf("\n"); |
| 118 | 118 | ||
| 119 | - /* TCP: Query and reponse header and values */ | 119 | + /* TCP: Query and response header and values */ |
| 120 | bytes = 12 + 9 + (nb_points / 8) + ((nb_points % 8) ? 1 : 0); | 120 | bytes = 12 + 9 + (nb_points / 8) + ((nb_points % 8) ? 1 : 0); |
| 121 | printf("Values and TCP Modbus overhead:\n"); | 121 | printf("Values and TCP Modbus overhead:\n"); |
| 122 | printf("* %d x %d bytes\n", n_loop, bytes); | 122 | printf("* %d x %d bytes\n", n_loop, bytes); |
| @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) | @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) | ||
| 153 | printf("* %d KiB/s\n", rate); | 153 | printf("* %d KiB/s\n", rate); |
| 154 | printf("\n"); | 154 | printf("\n"); |
| 155 | 155 | ||
| 156 | - /* TCP:Query and reponse header and values */ | 156 | + /* TCP:Query and response header and values */ |
| 157 | bytes = 12 + 9 + (nb_points * sizeof(uint16_t)); | 157 | bytes = 12 + 9 + (nb_points * sizeof(uint16_t)); |
| 158 | printf("Values and TCP Modbus overhead:\n"); | 158 | printf("Values and TCP Modbus overhead:\n"); |
| 159 | printf("* %d x %d bytes\n", n_loop, bytes); | 159 | printf("* %d x %d bytes\n", n_loop, bytes); |
| @@ -192,7 +192,7 @@ int main(int argc, char *argv[]) | @@ -192,7 +192,7 @@ int main(int argc, char *argv[]) | ||
| 192 | printf("* %d KiB/s\n", rate); | 192 | printf("* %d KiB/s\n", rate); |
| 193 | printf("\n"); | 193 | printf("\n"); |
| 194 | 194 | ||
| 195 | - /* TCP:Query and reponse header and values */ | 195 | + /* TCP:Query and response header and values */ |
| 196 | bytes = 12 + 9 + (nb_points * sizeof(uint16_t)); | 196 | bytes = 12 + 9 + (nb_points * sizeof(uint16_t)); |
| 197 | printf("Values and TCP Modbus overhead:\n"); | 197 | printf("Values and TCP Modbus overhead:\n"); |
| 198 | printf("* %d x %d bytes\n", n_loop, bytes); | 198 | printf("* %d x %d bytes\n", n_loop, bytes); |