* Ecore_Con: Revert r41742.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Aug 2009 15:42:30 +0000 (15:42 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Aug 2009 15:42:30 +0000 (15:42 +0000)
Note: It's not a good idea to initialize curl, if you just
want to do some ecore_con network or ipc. Better let them
initialize separatly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index 30b4392..c124b93 100644 (file)
@@ -94,13 +94,9 @@ ecore_con_init(void)
    ECORE_CON_EVENT_SERVER_DATA = ecore_event_type_new();
 
    /* TODO Remember return value, if it fails, use gethostbyname() */
-   /* TODO: check sub modules init success, consider if module is available
-    * before even trying to initialize it (ie: url might be disabled)
-    */
    ecore_con_ssl_init();
    ecore_con_dns_init();
    ecore_con_info_init();
-   ecore_con_url_init();
 
    return init_count;
 }
@@ -119,7 +115,6 @@ ecore_con_shutdown(void)
    while (servers)
      _ecore_con_server_free(eina_list_data_get(servers));
 
-   ecore_con_url_shutdown();
    ecore_con_info_shutdown();
    ecore_con_dns_shutdown();
    ecore_con_ssl_shutdown();