redo some comments
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Jul 2010 01:28:03 +0000 (01:28 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Jul 2010 01:28:03 +0000 (01:28 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50628 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_ssl.c

index 616ab9f..9912a56 100644 (file)
@@ -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__)
 {