From 0491710fa74abac1b56db13a013e828bafe3948e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 9 Nov 2002 16:09:50 +0000 Subject: [PATCH] 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. ================ --- servers/slapd/main.c | 2 +- servers/slapd/module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/main.c b/servers/slapd/main.c index bda792fbf8..1dc199c838 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -467,7 +467,7 @@ int main( int argc, char **argv ) #else Debug( LDAP_DEBUG_ANY, "main: TLS init def ctx failed: %d\n", - 0, 0, 0 ); + rc, 0, 0 ); #endif rc = 1; SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 20 ); diff --git a/servers/slapd/module.c b/servers/slapd/module.c index 12375773cf..2dd747458d 100644 --- a/servers/slapd/module.c +++ b/servers/slapd/module.c @@ -171,7 +171,7 @@ int module_load(const char* file_name, int argc, char *argv[]) #ifdef NEW_LOGGING LDAP_LOG( SLAPD, ERR, "module_load: module %s: unknown registration type (%d).\n", - file_name, 0); + file_name, rc, 0); #else Debug(LDAP_DEBUG_CONFIG, "module %s: unknown registration type (%d)\n", file_name, rc, 0); -- 2.39.5