TReturn rv = TCORE_RETURN_SUCCESS;
UserRequest *ur = NULL;
- ur = tcore_user_request_new(comm, tcore_plugin_get_description(target_plg)->name);
+ ur = tcore_user_request_new(comm, tcore_server_get_cp_name_by_plugin(target_plg));
if (!ur) {
dbg("ur is NULL");
return TCORE_RETURN_FAILURE;
gchar *sca = NULL;
gchar *tpdu = NULL;
- sca = g_base64_encode((const guchar *)&(noti->msgInfo.sca[0]), TAPI_SMS_ENCODED_SCA_LEN_MAX);
+ sca = g_base64_encode((const guchar *)&(noti->msgInfo.sca[0]), SMS_ENCODED_SCA_LEN_MAX);
if (sca == NULL) {
dbg("g_base64_encode: Failed to Enocde msgInfo.sca");
sca = "";