projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #4 from collectd/master
[collectd.git]
/
src
/
openldap.c
diff --git
a/src/openldap.c
b/src/openldap.c
index
d11855a
..
ffcdb94
100644
(file)
--- a/
src/openldap.c
+++ b/
src/openldap.c
@@
-621,7
+621,8
@@
static int cldap_config_add (oconfig_item_t *ci) /* {{{ */
st->name, st->url);
status = -1;
}
- else
+
+ if ((status == 0) && (ludpp->lud_host != NULL))
{
st->host = strdup (ludpp->lud_host);
}