summaryrefslogtreecommitdiff
path: root/ldns/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldns/buffer.h')
-rw-r--r--ldns/buffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldns/buffer.h b/ldns/buffer.h
index 03df14c99158b..3b64198d8d576 100644
--- a/ldns/buffer.h
+++ b/ldns/buffer.h
@@ -630,8 +630,9 @@ void ldns_buffer_free(ldns_buffer *buffer);
void *ldns_buffer_export(ldns_buffer *buffer);
/**
- * Copy contents of the other buffer to this buffer. Silently truncated
- * if this buffer is too small.
+ * Copy contents of the from buffer to the result buffer and then flips
+ * the result buffer. Data will be silently truncated if the result buffer is
+ * too small.
* \param[out] *result resulting buffer which is copied to.
* \param[in] *from what to copy to result.
*/