Patch: Wrong args to Debug() and LDAP_LOG() (ITS#2170,2171)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================
This commit is contained in:
Pierangelo Masarati 2002-11-09 16:09:50 +00:00
parent 7400191ba8
commit 0491710fa7
2 changed files with 2 additions and 2 deletions

View file

@ -467,7 +467,7 @@ int main( int argc, char **argv )
#else #else
Debug( LDAP_DEBUG_ANY, Debug( LDAP_DEBUG_ANY,
"main: TLS init def ctx failed: %d\n", "main: TLS init def ctx failed: %d\n",
0, 0, 0 ); rc, 0, 0 );
#endif #endif
rc = 1; rc = 1;
SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 20 ); SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 20 );

View file

@ -171,7 +171,7 @@ int module_load(const char* file_name, int argc, char *argv[])
#ifdef NEW_LOGGING #ifdef NEW_LOGGING
LDAP_LOG( SLAPD, ERR, LDAP_LOG( SLAPD, ERR,
"module_load: module %s: unknown registration type (%d).\n", "module_load: module %s: unknown registration type (%d).\n",
file_name, 0); file_name, rc, 0);
#else #else
Debug(LDAP_DEBUG_CONFIG, "module %s: unknown registration type (%d)\n", Debug(LDAP_DEBUG_CONFIG, "module %s: unknown registration type (%d)\n",
file_name, rc, 0); file_name, rc, 0);