summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-04-23 16:31:26 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-04-23 16:31:26 +0000
commit6354ce579662b3801752e9b7ef96cba5e696a5e9 (patch)
tree9502e4316dce69bf22611a3bac88eae279fa1d71
parentd773b893adef4c4db6bbdddd681ea7398476c7cd (diff)
downloadgnutls-6354ce579662b3801752e9b7ef96cba5e696a5e9.tar.gz
some updates in the description of gnutls_alert_get()
-rw-r--r--lib/gnutls_alert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_alert.c b/lib/gnutls_alert.c
index 4855d3d830..c1359a4c89 100644
--- a/lib/gnutls_alert.c
+++ b/lib/gnutls_alert.c
@@ -279,6 +279,9 @@ int gnutls_alert_send_appropriate(gnutls_session_t session, int err)
* GNUTLS_E_FATAL_ALERT_RECEIVED has been returned by a gnutls function.
* The peer may send alerts if he thinks some things were not
* right. Check gnutls.h for the available alert descriptions.
+ *
+ * If no alert has been received the returned value is undefined.
+ *
**/
gnutls_alert_description_t gnutls_alert_get(gnutls_session_t session)
{