Skip to content
Snippets Groups Projects
Commit dc68e41e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

cleanup old TOOLID macro

parent 1e65293a
Branches
Tags
No related merge requests found
......@@ -89,8 +89,9 @@ slap_init( int mode, char *name )
case SLAP_SERVER_MODE:
case SLAP_TOOL_MODE:
Debug( LDAP_DEBUG_TRACE,
"%s init: initiated %s.\n",
name, ( mode & SLAP_TOOL_MODE ) ? "tool" : "server", 0 );
"%s init: initiated %s.\n", name,
(mode & SLAP_MODE) == SLAPD_TOOL_MODE ? "tool" : "server",
0 );
slap_name = name;
......
......@@ -99,6 +99,7 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
send_search_entry( &backends[0], conn, op,
e, attrs, attrsonly, NULL );
send_search_result( conn, op, LDAP_SUCCESS,
NULL, NULL, NULL, NULL, 1 );
......
......@@ -689,7 +689,6 @@ LIBSLAPD_F (int) slapMode;
#ifdef SLAPD_BDB2
#define SLAP_TIMED_MODE 0x1000
#endif
#define SLAP_TOOLID_MODE 4
/* temporary aliases */
typedef BackendDB Backend;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment