From: Nikos Mavrogiannopoulos Date: Sat, 23 Apr 2005 16:29:43 +0000 (+0000) Subject: gnutls_alert_send_appropriate() is no longer marked as deprecated. X-Git-Tag: gnutls_1_2_2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d773b893adef4c4db6bbdddd681ea7398476c7cd;p=thirdparty%2Fgnutls.git gnutls_alert_send_appropriate() is no longer marked as deprecated. --- 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) {