author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 30 Jun 2017 14:20:16 +0000 (16:20 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 30 Jun 2017 14:20:16 +0000 (16:20 +0200) |
Conflicts:
src/openldap.c
src/openldap.c
1 | 2 | |||
---|---|---|---|---|
src/email.c | patch | | diff1 | | diff2 | | blob | history |
src/exec.c | patch | | diff1 | | diff2 | | blob | history |
src/openldap.c | patch | | diff1 | | diff2 | | blob | history |
src/unixsock.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/email.c
Simple merge
diff --cc src/exec.c
index f10b816b2c9dd7d19bc6d2b35f6815f1727f2a5d,28380ac33677788acd1ffc2b4058ba08a9661e53..80515d93d3ec4861d3cd69de7260bbd4e60ba8d3
--- 1/src/exec.c
--- 2/src/exec.c
+++ b/src/exec.c
struct passwd *sp_ptr;
struct passwd sp;
- char nambuf[2048];
+ char nambuf[4096];
if (pl->pid != 0)
- return (-1);
+ return -1;
if ((create_pipe(fd_pipe_in) == -1) || (create_pipe(fd_pipe_out) == -1) ||
(create_pipe(fd_pipe_err) == -1))
diff --cc src/openldap.c
index 1156169c41e4c01d66ec23bbbf28e5e787335dc5,50757db8ac513017c954a690cd227b0e2291ea02..7aa8c39278ec009166d4b605ee33084b79e6f30e
--- 1/src/openldap.c
--- 2/src/openldap.c
+++ b/src/openldap.c
ERROR("openldap plugin: Failed to start tls on %s: %s", st->url,
ldap_err2string(rc));
st->state = 0;
++<<<<<<< HEAD
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return -1;
++=======
+ if (st->ld != NULL)
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return (-1);
++>>>>>>> collectd-5.7
}
}
ERROR("openldap plugin: Failed to bind to %s: %s", st->url,
ldap_err2string(rc));
st->state = 0;
++<<<<<<< HEAD
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return -1;
++=======
+ if (st->ld != NULL)
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return (-1);
++>>>>>>> collectd-5.7
} else {
DEBUG("openldap plugin: Successfully connected to %s", st->url);
st->state = 1;
ERROR("openldap plugin: Failed to execute search: %s", ldap_err2string(rc));
ldap_msgfree(result);
st->state = 0;
++<<<<<<< HEAD
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return -1;
++=======
+ if (st->ld != NULL)
+ ldap_unbind_ext_s(st->ld, NULL, NULL);
+ return (-1);
++>>>>>>> collectd-5.7
}
for (LDAPMessage *e = ldap_first_entry(st->ld, result); e != NULL;
diff --cc src/unixsock.c
Simple merge