From 678fa94b3ab7995f01cd7c38feaba2cdb048e761 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 6 Dec 2014 18:56:08 +0000 Subject: Fix: adjust unixmessage_receiver_fill() math after recvmsg(). auxb, (char *)CMSG_DATA(c), auxlen) < auxlen) return (errno = ENOBUFS, -1) ; d->right = auxlen / sizeof(int) ; - r -= c->cmsg_len ; + r -= msghdr.msg_controllen ; } } d->left = cbuffer_WSEEK(&b->mainb, r) ; -- cgit v1.2.3