]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/add.c
Remove extensible filter #ifdef
[openldap] / servers / slapd / add.c
index 28cc47990cb3ca3dfc0ae6d1e93c5978e6e159e8..f8f220aed695b1a81aee13479498d47304531092 100644 (file)
@@ -234,8 +234,12 @@ do_add( Connection *conn, Operation *op )
 #endif
                {
                        int update = be->be_update_ndn != NULL;
+                       char textbuf[SLAP_TEXT_BUFLEN];
+                       size_t textlen = sizeof textbuf;
+
+                       rc = slap_modlist2mods( modlist, update, &mods, &text,
+                               textbuf, textlen );
 
-                       rc = slap_modlist2mods( modlist, update, &mods, &text );
                        if( rc != LDAP_SUCCESS ) {
                                send_ldap_result( conn, op, rc,
                                        NULL, text, NULL, NULL );