Skip to content
Snippets Groups Projects
Commit 0491710f authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

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.
			================
parent 7400191b
Branches
Tags
No related merge requests found
......@@ -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 );
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment