init_bot();
exit(0);
void get_server_message () {  int nr_active_sock, reclen, startptr = 0, msglen;try_again:  nr_active_sock = SDLNet_CheckSockets (theset, 1);  if (nr_active_sock == 0) return;  if (!SDLNet_SocketReady (thesock)) return;  reclen = get_packet ();  if (reclen == -1) return;  if (reclen <= 0) {    log_error ("Disconnected by the server!\n");    exit_connection (EXIT_ALL);    SDL_Delay (120000);      // Wait 2 minutes    // Call the main function again    init_bot();  }  msglen = *((short *) (msgbuf + startptr + 1));  msglen += 2;  if (!process_message (msgbuf+startptr, msglen)) {    /* something went wrong when processing our message. Log out. */    exit_connection (EXIT_ALL);    log_error ("Unable to process message");    exit (1);  }  goto try_again;}