]> git.sur5r.net Git - openldap/commitdiff
clarify the usage of dnParent( dn, dn )
authorPierangelo Masarati <ando@openldap.org>
Fri, 1 Apr 2005 23:58:38 +0000 (23:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 1 Apr 2005 23:58:38 +0000 (23:58 +0000)
servers/slapd/dn.c

index 2e6379a2ee25e6d86c419d932a54ce894c8e1bf5..5da22ac6a44a6f834e4c42eb5bbc03e8d93a3415 100644 (file)
@@ -1097,6 +1097,10 @@ rdnMatch(
  * dnParent - dn's parent, in-place
  * note: the incoming dn is assumed to be normalized/prettyfied,
  * so that escaped rdn/ava separators are in '\'+hexpair form
+ *
+ * note: "dn" and "pdn" can point to the same berval;
+ * beware that, in this case, the pointer to the original buffer
+ * will get lost.
  */
 void
 dnParent(