svn commit: r309392 - head/usr.sbin/ypldap
Marcelo Araujo
araujo at FreeBSD.org
Fri Dec 2 05:49:24 UTC 2016
Author: araujo
Date: Fri Dec 2 05:49:22 2016
New Revision: 309392
URL: https://svnweb.freebsd.org/changeset/base/309392
Log:
String terminators are called NUL, not NULL, also the variable
mentioned in the comment is p and not u.
Obtained from: OpenBSD (r1.34)
Modified:
head/usr.sbin/ypldap/aldap.c
Modified: head/usr.sbin/ypldap/aldap.c
==============================================================================
--- head/usr.sbin/ypldap/aldap.c Fri Dec 2 05:47:52 2016 (r309391)
+++ head/usr.sbin/ypldap/aldap.c Fri Dec 2 05:49:22 2016 (r309392)
@@ -1206,7 +1206,7 @@ isu8cont(unsigned char c)
/*
* Parse a LDAP value
* notes:
- * the argument u should be a NULL terminated sequence of ASCII bytes.
+ * the argument p should be a NUL-terminated sequence of ASCII bytes.
*/
char *
parseval(char *p, size_t len)
More information about the svn-src-all
mailing list