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. ================ slapd/main.c: Give Debug() the same args as LDAP_LOG(). slapd/module.c: Give LDAP_LOG() a missing argument. Hallvard B. Furuseth , Nov 2002. --- servers/slapd/main.c~ Sat Nov 9 14:49:26 2002 +++ servers/slapd/main.c Sat Nov 9 15:14:04 2002 @@ -468,5 +468,5 @@ Debug( LDAP_DEBUG_ANY, "main: TLS init def ctx failed: %d\n", - 0, 0, 0 ); + rc, 0, 0 ); #endif rc = 1; --- servers/slapd/module.c~ Thu Jul 11 20:33:29 2002 +++ servers/slapd/module.c Sat Nov 9 15:18:02 2002 @@ -172,5 +172,5 @@ 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",