Fix: Small patch

This commit is contained in:
Afonso Clerigo Mendes de Sousa 2025-10-22 14:02:43 +01:00
parent 3e96227be7
commit 3fa53d741c
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -21,8 +21,9 @@
const char *API_SOCKET_PATH = "/tmp/ACplayer_socket";
const int MAX_PLAYERS = 64;
const int SERVER_ID = 137;
const char *SERVER_OUT_IP = "127.0.0.1";
int SERVER_ID;
api_packet current_packet;
int apiSent = 0;
@ -209,7 +210,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
char *SERVER_OUT_IP = argv[1];
SERVER_ID = atoi(argv[1]);
int SERVER_IN_PORT = atoi(argv[2]);
int SERVER_OUT_PORT = atoi(argv[3]);