diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-04-23 16:31:26 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-04-23 16:31:26 +0000 |
commit | 6354ce579662b3801752e9b7ef96cba5e696a5e9 (patch) | |
tree | 9502e4316dce69bf22611a3bac88eae279fa1d71 /lib/gnutls_alert.c | |
parent | d773b893adef4c4db6bbdddd681ea7398476c7cd (diff) | |
download | gnutls-6354ce579662b3801752e9b7ef96cba5e696a5e9.tar.gz |
some updates in the description of gnutls_alert_get()
Diffstat (limited to 'lib/gnutls_alert.c')
-rw-r--r-- | lib/gnutls_alert.c | 3 |
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) { |