From: discomfitor Date: Thu, 29 Jul 2010 01:28:03 +0000 (+0000) Subject: redo some comments X-Git-Tag: accepted/2.0/20130306.224007~195^2~826 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4ae5f9c8a3b4e6ceab194046fc5f4d66b641031;p=profile%2Fivi%2Fecore.git redo some comments git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50628 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con_ssl.c b/src/lib/ecore_con/ecore_con_ssl.c index 616ab9f..9912a56 100644 --- a/src/lib/ecore_con/ecore_con_ssl.c +++ b/src/lib/ecore_con/ecore_con_ssl.c @@ -257,6 +257,10 @@ _ecore_con_ssl_server_prepare_gnutls(Ecore_Con_Server *svr) return; } +/* Tries to connect an Ecore_Con_Server to an SSL host. + * Returns 1 on success, -1 on fatal errors and 0 if the caller + * should try again later. + */ static Ecore_Con_Ssl_Error _ecore_con_ssl_server_init_gnutls(Ecore_Con_Server *svr) { @@ -376,10 +380,7 @@ _ecore_con_ssl_server_shutdown_gnutls(Ecore_Con_Server *svr) return ECORE_CON_SSL_ERROR_NONE; } -/* Tries to connect an Ecore_Con_Server to an SSL host. - * Returns 1 on success, -1 on fatal errors and 0 if the caller - * should try again later. - */ +/* this is a stub function, the handshake is done in _init_gnutls */ static Ecore_Con_State _ecore_con_ssl_server_try_gnutls(Ecore_Con_Server *svr __UNUSED__) {