Skip to content

Commit 2056b48

Browse files
committed
Update GenericModuleMaster.cpp
1 parent 0ce2692 commit 2056b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/WebPage/WINDOWS_LINUX_DUDP/GenericModuleMaster/GenericModuleMaster/GenericModuleMaster.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ void setup(int argc, const char * const argv[]) {
101101
// Parse command line
102102
uint16_t http_server_port = 80, mqtt_server_port = 1883;
103103
in_addr http_server_ip, mqtt_server_ip;
104-
memcset(&http_server_ip, 0, sizeof http_server_ip);
105-
memcset(&mqtt_server_ip, 0, sizeof mqtt_server_ip);
104+
memset(&http_server_ip, 0, sizeof http_server_ip);
105+
memset(&mqtt_server_ip, 0, sizeof mqtt_server_ip);
106106
const char *config_source = "http", *master_prefix = "m1";
107107
for (uint8_t i = 1; i < argc; i++) {
108108
if (strcmp(argv[i], "-http")==0) i += get_ip_and_port(argc, argv, i + 1, http_server_ip, http_server_port);

0 commit comments

Comments
 (0)