}
static void userinfo_rights_completed(void attribute((unused)) *v,
- const char *error,
+ const char *err,
const char *value) {
rights_type r;
- if(error) {
- popup_protocol_error(0, error);
+ if(err) {
+ popup_protocol_error(0, err);
r = 0;
} else {
if(parse_rights(value, &r, 0))
/** @brief Called when a NOP completes */
static void nop_completed(void attribute((unused)) *v,
- const char attribute((unused)) *error) {
+ const char attribute((unused)) *err) {
/* TODO report the error somewhere */
nop_in_flight = 0;
}
/** @brief Called when a rtp-address command succeeds */
static void got_rtp_address(void attribute((unused)) *v,
- const char *error,
+ const char *err,
int attribute((unused)) nvec,
char attribute((unused)) **vec) {
const int rtp_was_supported = rtp_supported;
++suppress_actions;
rtp_address_in_flight = 0;
- if(error) {
+ if(err) {
/* An error just means that we're not using network play */
rtp_supported = 0;
rtp_is_running = 0;