diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2014-11-20 17:00:06 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2014-11-20 17:00:06 +0100 |
commit | 41ba26aab06ba14ec9fa97d467a5b3ef44287091 (patch) | |
tree | 54fe1840eed5cade75cfe938b9e4f9cf00782f9d /src/aio | |
parent | 03ef4e0cc95847975c87d5be8b9abafdcf5731c5 (diff) | |
download | nanomsg-41ba26aab06ba14ec9fa97d467a5b3ef44287091.tar.gz |
Missing include added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/aio')
-rw-r--r-- | src/aio/usock_posix.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aio/usock_posix.inc b/src/aio/usock_posix.inc index 6af6fbf..fd801fc 100644 --- a/src/aio/usock_posix.inc +++ b/src/aio/usock_posix.inc @@ -1119,6 +1119,7 @@ static int nn_usock_recv_raw (struct nn_usock *self, void *buf, size_t *len) /* Extract the associated file descriptor, if any. */ cmsg = CMSG_FIRSTHDR (&hdr); while (cmsg) { +printf ("cmsg=%p\n", (void*) cmsg); if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { if (self->in.pfd) { *self->in.pfd = *((int*) CMSG_DATA (cmsg)); |