summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd
diff options
context:
space:
mode:
authorrob <rob@openbsd.org>2018-07-13 08:50:38 +0000
committerrob <rob@openbsd.org>2018-07-13 08:50:38 +0000
commit1b8e4fc33d8ad16b53c2c412f25d6c29fe16050b (patch)
treec6e2184d562574a1bf28fba42be6e6be0cdc567b /usr.sbin/ldapd
parentWhen we nack a domain service because we don't support the requested major (diff)
downloadwireguard-openbsd-1b8e4fc33d8ad16b53c2c412f25d6c29fe16050b.tar.xz
wireguard-openbsd-1b8e4fc33d8ad16b53c2c412f25d6c29fe16050b.zip
Fix some comments referencing sockets which are not used by the ber api. The
api uses read and write buffers (byte streams) that are utilized by calling applications which may or may not use sockets. ok claudio@ buffer byte streams that applications then use for
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.