cleanup old TOOLID macro

This commit is contained in:
Kurt Zeilenga 2000-05-15 16:33:07 +00:00
parent 1e65293aa2
commit dc68e41ee9
3 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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 );

View file

@ -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;