Skip to content
Snippets Groups Projects
Commit 5c6573fc authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#2558 fix

parent 03233d27
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment