ecore_con: use macros instead 19/191919/2
authorAmitesh Singh <singh.amitesh@gmail.com>
Thu, 25 Oct 2018 09:33:24 +0000 (15:03 +0530)
committerHermet Park <chuneon.park@samsung.com>
Fri, 26 Oct 2018 07:57:21 +0000 (07:57 +0000)
use already defined macros for HOST and PORT.

Change-Id: Ie02fa10cde36121e6ac41dddcddd99091a1bf357

TC/ecore/ecore_con/utc_ecore_con_server_client_limit_set.c

index 0eb72208f77cf4f892f49e97ef2cc470ff601ce6..02bb78d3e53b1ed2263b5424acce2c19877e7f87 100644 (file)
@@ -85,7 +85,7 @@ START_TEST(utc_ecore_con_server_client_limit_set_p)
    ecore_con_server_client_limit_set(svr, CLIENT_LIMIT, 0);
    for (i = 0; i < CLIENT_MAX ; i++)
      {
-        if (ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", 8080, NULL) == NULL)
+        if (ecore_con_server_connect(ECORE_CON_REMOTE_TCP, HOSTNAME, PORT, NULL) == NULL)
           {
              ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed ([%d] connect to fail)..", __FILE__, __LINE__, i);
           }