Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
68b33465
Commit
68b33465
authored
Mar 24, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6030
parent
f895a194
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
68b33465
...
...
@@ -10,6 +10,7 @@ OpenLDAP 2.4.16 Release (2009/03/20)
Fixed slapd backglue with empty DBs (ITS#5986)
Fixed slapd ctxcsn race condition (ITS#6001)
Fixed slapd debug message (ITS#6027)
Fixed slapd redundant module loading (ITS#6030)
Fixed slapd syncrepl newCookie sync messages (ITS#5972)
Fixed slapd syncrepl hang during shutdown (ITS#6011)
Fixed slapd syncrepl too many MMR messages (ITS#6020)
...
...
servers/slapd/module.c
View file @
68b33465
...
...
@@ -119,7 +119,7 @@ int module_unload( const char *file_name )
int
module_load
(
const
char
*
file_name
,
int
argc
,
char
*
argv
[])
{
module_loaded_t
*
module
=
NULL
;
module_loaded_t
*
module
;
const
char
*
error
;
int
rc
;
MODULE_INIT_FN
initialize
;
...
...
@@ -129,6 +129,13 @@ int module_load(const char* file_name, int argc, char *argv[])
#define file file_name
#endif
module
=
module_handle
(
file_name
);
if
(
module
)
{
Debug
(
LDAP_DEBUG_ANY
,
"module_load: (%s) already loaded
\n
"
,
file_name
,
0
,
0
);
return
-
1
;
}
module
=
(
module_loaded_t
*
)
ch_calloc
(
1
,
sizeof
(
module_loaded_t
)
+
strlen
(
file_name
));
if
(
module
==
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment