1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-04 09:33:30 +00:00

Fixed compiler warning

This commit is contained in:
Bryan Roe
2019-03-04 18:22:51 -08:00
parent a7544b6b7a
commit c8c366ff5a
4 changed files with 4 additions and 4 deletions

View File

@@ -3041,7 +3041,7 @@ void MeshServer_ConnectEx(MeshAgentHostContainer *agent)
}
strcpy_s(agent->serveruri, sizeof(agent->serveruri), "wss://meshcentral.com:443/agent.ashx");
strcpy_s(serverUrl, serverUrlLen, "wss://meshcentral.com:443/agent.ashx");
serverUrlLen = strnlen_s(serverUrl, serverUrlLen);
serverUrlLen = (int)strnlen_s(serverUrl, serverUrlLen);
}
#ifndef MICROSTACK_NOTLS