return TTS_ERROR_OPERATION_FAILED;
}
- if (0 != rpc_port_proxy_tts_invoke_add_text(info->rpc_h, uid, text, lang, vctype, speed, uttid, credential)) {
+ const char *not_null_credential = NULL == credential ? "NULL" : credential;
+ if (0 != rpc_port_proxy_tts_invoke_add_text(info->rpc_h, uid, text, lang, vctype, speed, uttid, not_null_credential)) {
SLOG(LOG_ERROR, TAG_TTSC, ">>>> Request add text : Fail to invoke message");
return TTS_ERROR_OPERATION_FAILED;
}
return TTS_ERROR_OPERATION_FAILED;
}
- if (0 != rpc_port_proxy_tts_invoke_play(info->rpc_h, uid, credential)) {
+ const char *not_null_credential = NULL == credential ? "NULL" : credential;
+ if (0 != rpc_port_proxy_tts_invoke_play(info->rpc_h, uid, not_null_credential)) {
SLOG(LOG_ERROR, TAG_TTSC, ">>>> Request play : Fail to invoke message");
return TTS_ERROR_OPERATION_FAILED;
}