Fix for coverity issue CID: 108713 86/176586/1
authorAbhishek Sansanwal <abhishek.s94@samsung.com>
Fri, 20 Apr 2018 06:12:21 +0000 (11:42 +0530)
committerAbhishek Sansanwal <abhishek.s94@samsung.com>
Fri, 20 Apr 2018 06:13:06 +0000 (11:43 +0530)
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Iefdbf85484eb38ba6882c986bd5a96a25444bbb5

src/view/view_new_network.c

index a672a3b..b2f20f0 100755 (executable)
@@ -684,7 +684,7 @@ static void _markup_cb(void *data, Evas_Object *entry, char **text)
                *text = NULL;
 
                tmp = elm_entry_markup_to_utf8(buf);
-               snprintf(tmp, sizeof(4*sizeof(char)), "%d", 255);
+               snprintf(tmp, 4 * sizeof(char), "%d", 255);
                elm_entry_entry_set(entry, tmp);
                set_focus_next_octet(priv, entry);
                free(tmp);