]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/dn.c
fix previous commit
[openldap] / 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(