mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#2558 fix
This commit is contained in:
parent
03233d2719
commit
5c6573fc31
@ -182,8 +182,10 @@ sendcred:
|
||||
int fds[2];
|
||||
if (pipe(fds) == 0) {
|
||||
/* Abandon, noop, has no reply */
|
||||
struct iovec iov = {(char *)abandonPDU, sizeof(abandonPDU)};
|
||||
struct iovec iov;
|
||||
struct msghdr msg = {0};
|
||||
iov.iov_base = (char *) abandonPDU;
|
||||
iov.iov_len = sizeof abandonPDU;
|
||||
msg.msg_iov = &iov;
|
||||
msg.msg_iovlen = 1;
|
||||
msg.msg_accrights = (char *)fds;
|
||||
|
Loading…
Reference in New Issue
Block a user