summaryrefslogtreecommitdiff
path: root/lib/gnutls_record.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-19 10:40:58 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-19 10:41:01 +0200
commit86ad5953c6b3c0402494d75cba29bd5194f6d931 (patch)
tree07653fb260ed837ab9bafca8c5951d3a4679086c /lib/gnutls_record.c
parent6016eee18aac3224fd815de5bc3d385949248cf7 (diff)
downloadgnutls-86ad5953c6b3c0402494d75cba29bd5194f6d931.tar.gz
corrected documentation for the cork/uncork functions
Reported by Jaak Ristioja.
Diffstat (limited to 'lib/gnutls_record.c')
-rw-r--r--lib/gnutls_record.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index aefe200e35..4058fa843b 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -1606,11 +1606,11 @@ gnutls_record_send(gnutls_session_t session, const void *data,
}
/**
- * gnutls_cork:
+ * gnutls_record_cork:
* @session: is a #gnutls_session_t structure.
*
* If called, gnutls_record_send() will no longer send any records.
- * Any sent records will be cached until gnutls_uncork() is called.
+ * Any sent records will be cached until gnutls_record_uncork() is called.
*
* This function is safe to use with DTLS after GnuTLS 3.3.0.
*
@@ -1622,11 +1622,11 @@ void gnutls_record_cork(gnutls_session_t session)
}
/**
- * gnutls_uncork:
+ * gnutls_record_uncork:
* @session: is a #gnutls_session_t structure.
* @flags: Could be zero or %GNUTLS_RECORD_WAIT
*
- * This resets the effect of gnutls_cork(), and flushes any pending
+ * This resets the effect of gnutls_record_cork(), and flushes any pending
* data. If the %GNUTLS_RECORD_WAIT flag is specified then this
* function will block until the data is sent or a fatal error
* occurs (i.e., the function will retry on %GNUTLS_E_AGAIN and