summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-29 13:59:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-29 13:59:43 +0000
commit3485ed3c9127d79ef983142892117b84df5288b4 (patch)
tree39f5e730f2131cff0e21e115eda444153f70538c
parent3066601ec8e9a28098d34a4164c353eeed7f78a9 (diff)
downloadgnutls-3485ed3c9127d79ef983142892117b84df5288b4.tar.gz
some more documentation fixes.
-rw-r--r--lib/gnutls_record.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index 6edd461c9b..07678e98ed 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -984,7 +984,7 @@ ssize_t _gnutls_recv_int(gnutls_session_t session, content_type_t type,
* error codes.
*
* If the EINTR is returned by the internal push function (the
- * default is recv()) then GNUTLS_E_INTERRUPTED will be returned. If
+ * default is send()) then GNUTLS_E_INTERRUPTED will be returned. If
* GNUTLS_E_INTERRUPTED or GNUTLS_E_AGAIN is returned, you must call
* this function again, with the same parameters; alternatively you
* could provide a NULL pointer for data, and 0 for
@@ -1013,10 +1013,11 @@ ssize_t gnutls_record_send(gnutls_session_t session, const void *data,
* difference is that is accepts a GNUTLS session, and uses different
* error codes.
*
- * If the server requests a renegotiation, the client may receive an
- * error code of GNUTLS_E_REHANDSHAKE. This message may be simply
- * ignored, replied with an alert containing NO_RENEGOTIATION, or
- * replied with a new handshake.
+ * In the special case that a server requests a renegotiation, the
+ * client may receive an error code of GNUTLS_E_REHANDSHAKE.
+ * This message may be simply ignored, replied with an alert
+ * containing NO_RENEGOTIATION, or replied with a new handshake,
+ * depending on the client's will.
*
* A server may also receive GNUTLS_E_REHANDSHAKE when a client has
* initiated a handshake. In that case the server can only initiate a