projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-5.5'
[collectd.git]
/
src
/
openldap.c
diff --git
a/src/openldap.c
b/src/openldap.c
index
615aee3
..
151d25d
100644
(file)
--- a/
src/openldap.c
+++ b/
src/openldap.c
@@
-624,9
+624,8
@@
static int cldap_config_add (oconfig_item_t *ci) /* {{{ */
if ((status == 0) && (st->url != NULL))
{
LDAPURLDesc *ludpp;
- int rc;
- if (
(rc = ldap_url_parse (st->url, &ludpp)
) != 0)
+ if (
ldap_url_parse (st->url, &ludpp
) != 0)
{
ERROR ("openldap plugin: Instance `%s': "
"Invalid URL: `%s'",