Mir

Code review comment for lp:~afrantzis/mir/correct-cmsg-storage-1320821

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

38 - // Control message contains file descriptors
39 - struct cmsghdr *message = CMSG_FIRSTHDR(&header);
40 - message->cmsg_len = header.msg_controllen;
41 - message->cmsg_level = SOL_SOCKET;
42 - message->cmsg_type = SCM_RIGHTS;
43 -

I'm surprised we can lose this initialization. But it appears to work.

review: Approve

« Back to merge proposal