Change-Id: Id16707ba4f387477a108becedc12afde0e7541e7
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
char entry_ip_text[16] = { 0, };
gboolean fixed = FALSE;
entry_text = elm_entry_markup_to_utf8(elm_entry_entry_get(obj));
- ip_text = g_strsplit(entry_text, ".", 5);
if (entry_text == NULL || entry_text[0] == '\0') {
if (entry_info->entry_txt) {
g_free(entry_text);
entry_text = NULL;
} else {
+ ip_text = g_strsplit(entry_text, ".", 5);
for (i = 0; i < 5; i++) {
if (ip_text[i] == NULL)
break;