summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
index 177c4c9b89..1732b3fe18 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
@@ -70,6 +70,7 @@ _url_compl_cb(void *data, int type EINA_UNUSED, void *event_info)
70 return EINA_FALSE; 70 return EINA_FALSE;
71} 71}
72 72
73#if defined(ECORE_CON_HTTP_TEST_URL) || defined(ECORE_CON_FTP_TEST_URL)
73static Eina_Bool 74static Eina_Bool
74_parse_url(char *link, char *url, char **user, char **passwd, char **file, char **dir) 75_parse_url(char *link, char *url, char **user, char **passwd, char **file, char **dir)
75{ 76{
@@ -156,6 +157,7 @@ error_user:
156 fprintf(stderr, "Wrong URL format\n"); 157 fprintf(stderr, "Wrong URL format\n");
157 return EINA_FALSE; 158 return EINA_FALSE;
158} 159}
160#endif
159 161
160#ifdef ECORE_CON_FTP_TEST_URL 162#ifdef ECORE_CON_FTP_TEST_URL
161START_TEST(ecore_con_test_ecore_con_url_ftp_upload) 163START_TEST(ecore_con_test_ecore_con_url_ftp_upload)