From: discomfitor Date: Thu, 29 Jul 2010 01:28:03 +0000 (+0000) Subject: redo some comments X-Git-Tag: build/2012-07-04.173327~1920 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a1d6770aed1438494b96d197f4b6899b4c15cc3;p=profile%2Fivi%2Fecore.git redo some comments git-svn-id: http://svn.enlightenment.org/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__) {