mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 06:43:09 -05:00
ITS#2558 fix
This commit is contained in:
parent
03233d2719
commit
5c6573fc31
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue