Date: Fri, 2 Dec 2016 05:49:22 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309392 - head/usr.sbin/ypldap Message-ID: <201612020549.uB25nNs4037701@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612020549.uB25nNs4037701>