]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls_alert_send_appropriate() is no longer marked as deprecated.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 23 Apr 2005 16:29:43 +0000 (16:29 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 23 Apr 2005 16:29:43 +0000 (16:29 +0000)
lib/gnutls_alert.c

index 7ebc86f27146b3a8afc4376686bd0149f0357567..4855d3d830b81bc74f5264dc8ced2e888e0ada7c 100644 (file)
@@ -246,8 +246,6 @@ int gnutls_error_to_alert(int err, int *level)
  * @session: is a #gnutls_session_t structure.
  * @err: is an integer
  *
- * This function is DEPRECATED, and may be removed.
- *
  * Sends an alert to the peer depending on the error code returned by a gnutls
  * function. This function will call gnutls_error_to_alert() to determine
  * the appropriate alert to send.
@@ -256,6 +254,8 @@ int gnutls_error_to_alert(int err, int *level)
  *
  * If the return value is GNUTLS_E_INVALID_REQUEST, then no alert has
  * been sent to the peer.
+ *
+ * Returns zero on success.
  */
 int gnutls_alert_send_appropriate(gnutls_session_t session, int err)
 {