if ((tstatus = \
pl_say_general_count(_sh, tmp, say_args)) \
!= SWITCH_STATUS_SUCCESS) { \
- return tstatus; \
+ switch_goto_status(tstatus, end); \
} \
say_args->method = smeth; say_args->type = stype; \
say_args->gender = sgen; \
switch_time_exp_t tm, tm_now;
uint8_t say_date = 0, say_time = 0, say_year = 0, say_month = 0, say_dow = 0, say_day = 0, say_yesterday = 0, say_today = 0;
const char *tz = NULL;
+ switch_status_t status = SWITCH_STATUS_SUCCESS;
tz = switch_say_file_handle_get_variable(sh, "timezone");
switch_say_file(sh, "time/t_sekund");
}
- return SWITCH_STATUS_SUCCESS;
+ switch_goto_status(SWITCH_STATUS_SUCCESS, end);
}
if ((t = atol(tosay)) > 0) {
/* switch_say_file(sh, "digits/t_minut");*/
}
- return SWITCH_STATUS_SUCCESS;
+end:
+ return status;
}