Change-Id: Ibf478b5f1b03d00b174789f211075d0e6afb6987
Signed-off-by: manoj <manoj.g2@samsung.com>
int nCapacity = -1;
char *pszCountryCode = "US";
i18n_uchar *pszUcharCountryCode = (i18n_uchar*)calloc(strlen(pszCountryCode) + 1, sizeof(i18n_uchar));
- nCapacity = i18n_ustring_get_length(pszUcharCountryCode);
i18n_uchar *pRet = i18n_ustring_copy_ua(pszUcharCountryCode, pszCountryCode);
+ nCapacity = i18n_ustring_get_length(pszUcharCountryCode);
if ( pRet == NULL || i18n_ustring_get_length(pszUcharCountryCode) <= 0 )
{
FPRINTF("\\n[Line : %d][%s] i18n_ustring_copy_ua failed\\n", __LINE__, API_NAMESPACE);