summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r--usr.sbin/ldapd/ber.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ldapd/ber.c b/usr.sbin/ldapd/ber.c
index 0b955b3271f..e55c41a73d6 100644
--- a/usr.sbin/ldapd/ber.c
+++ b/usr.sbin/ldapd/ber.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ber.c,v 1.23 2018/07/13 08:30:10 rob Exp $ */
+/* $OpenBSD: ber.c,v 1.24 2018/07/13 08:50:38 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -757,10 +757,10 @@ ber_scanf_elements(struct ber_element *ber, char *fmt, ...)
}
/*
- * write ber elements to the socket
+ * write ber elements to the write buffer
*
* params:
- * ber holds the socket
+ * ber holds the destination write buffer byte stream
* root fully populated element tree
*
* returns:
@@ -796,10 +796,10 @@ ber_write_elements(struct ber *ber, struct ber_element *root)
}
/*
- * read ber elements from the socket
+ * read ber elements from the read buffer
*
* params:
- * ber holds the socket and lot more
+ * ber holds a fully populated read buffer byte stream
* root if NULL, build up an element tree from what we receive on
* the wire. If not null, use the specified encoding for the
* elements received.