status was set before DISORDER_CONNECTED was, leading to a false
negative. This is a bit of a voodoo-ish change l-(
/** @brief True if RTP play is enabled */
int rtp_is_running;
/** @brief True if RTP play is enabled */
int rtp_is_running;
+static void check_rtp_address(void);
+
/* Window creation --------------------------------------------------------- */
/* Note that all the client operations kicked off from here will only complete
/* Window creation --------------------------------------------------------- */
/* Note that all the client operations kicked off from here will only complete
config->username, "rights",
0);
}
config->username, "rights",
0);
}
+ /* Recheck RTP status too */
+ check_rtp_address();
return TRUE; /* don't remove me */
}
return TRUE; /* don't remove me */
}
rtp_supported = 0;
event_raise("logged-in", 0);
/* Force the periodic checks */
rtp_supported = 0;
event_raise("logged-in", 0);
/* Force the periodic checks */
periodic_slow(0);
periodic_fast(0);
}
periodic_slow(0);
periodic_fast(0);
}
/* Start monitoring the log */
disorder_eclient_log(logclient, &log_callbacks, 0);
/* Initiate all the checks */
/* Start monitoring the log */
disorder_eclient_log(logclient, &log_callbacks, 0);
/* Initiate all the checks */
periodic_slow(0);
periodic_fast(0);
suppress_actions = 0;
periodic_slow(0);
periodic_fast(0);
suppress_actions = 0;