summaryrefslogtreecommitdiff
path: root/lib/gnutls_alert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_alert.c')
-rw-r--r--lib/gnutls_alert.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_alert.c b/lib/gnutls_alert.c
index 8a8b7924e4..7740d121e0 100644
--- a/lib/gnutls_alert.c
+++ b/lib/gnutls_alert.c
@@ -94,6 +94,10 @@ const char* ret = NULL;
* him of something important (eg. his Certificate could not be verified).
* If the alert level is Fatal then the peer is expected to close the
* connection, otherwise he may ignore the alert and continue.
+ *
+ * The error code of the underlying record send function will be returned,
+ * so you may also receive GNUTLS_E_INTERRUPTED or GNUTLS_E_AGAIN as well.
+ *
* Returns 0 on success.
*
**/