rename g_port to g_httpPort for Simulator

This commit is contained in:
Tester23
2023-07-20 13:02:27 +02:00
parent 20b6f98e62
commit 63ca4b6264
2 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@
SOCKET ListenSocket = INVALID_SOCKET;
int g_port = 80;
int g_httpPort = 80;
int HTTPServer_Start() {
@ -30,7 +30,7 @@ int HTTPServer_Start() {
}
// Resolve the server address and port
char service[6];
snprintf(service, sizeof(service), "%u", g_port);
snprintf(service, sizeof(service), "%u", g_httpPort);
iResult = getaddrinfo(NULL, service, &hints, &result);
if ( iResult != 0 ) {