summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-04-23 16:29:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-04-23 16:29:43 +0000
commitd773b893adef4c4db6bbdddd681ea7398476c7cd (patch)
treefaaa4d704260c91bb4d926c1f12603adbc1195b8
parentc56a7acf8f4673991bd12195e1d5c5dc6d4c06b9 (diff)
downloadgnutls-d773b893adef4c4db6bbdddd681ea7398476c7cd.tar.gz
gnutls_alert_send_appropriate() is no longer marked as deprecated.
-rw-r--r--lib/gnutls_alert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_alert.c b/lib/gnutls_alert.c
index 7ebc86f271..4855d3d830 100644
--- a/lib/gnutls_alert.c
+++ b/lib/gnutls_alert.c
@@ -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)
{