Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/InstanceSubscribe.cpp (1 of 2 files). Show all
Unified · Split
| @@ -37,7 +37,7 @@ int main(int argc, char* argv[]) · 36 unmodified lines | |||
| 37 | { | 37 | { |
| 38 | string hostname; | 38 | string hostname; |
| 39 | uint16_t port; | 39 | uint16_t port; |
| 40 | bool usePortOffset = false; | 40 | bool usePortOffset = false; |
| 41 | 41 | ||
| 42 | // Ensure that the necessary | 42 | // Ensure that the necessary |
| 43 | // command line arguments are given. | 43 | // command line arguments are given. |
| @@ -52,8 +52,8 @@ int main(int argc, char* argv[]) · 8 unmodified lines | |||
| 52 | hostname = argv[1]; | 52 | hostname = argv[1]; |
| 53 | stringstream(argv[2]) >> port; | 53 | stringstream(argv[2]) >> port; |
| 54 | 54 | ||
| 55 | if (argc > 3) | 55 | if (argc > 3) |
| 56 | usePortOffset = ParseBoolean(argv[3]); | 56 | usePortOffset = ParseBoolean(argv[3]); |
| 57 | 57 | ||
| 58 | // Initialize the subscribers. | 58 | // Initialize the subscribers. |
| 59 | for (uint32_t i = 0; i < TotalInstances; i++) | 59 | for (uint32_t i = 0; i < TotalInstances; i++) |