projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils_mount: use reentrant getmntent_r when we can
[collectd.git]
/
src
/
openldap.c
diff --git
a/src/openldap.c
b/src/openldap.c
index
e688849
..
8667058
100644
(file)
--- a/
src/openldap.c
+++ b/
src/openldap.c
@@
-604,7
+604,8
@@
static int cldap_config_add (oconfig_item_t *ci) /* {{{ */
st->name, st->url);
status = -1;
}
- else if (ludpp->lud_host != NULL)
+
+ if ((status == 0) && (ludpp->lud_host != NULL))
{
st->host = strdup (ludpp->lud_host);
}