parent
366c20e8a2
commit
fc666cb0b9
|
@ -350,7 +350,7 @@ static int receive_fd(int fd)
|
|||
}
|
||||
|
||||
cmsg = CMSG_FIRSTHDR(&msg);
|
||||
if (!cmsg->cmsg_type == SCM_RIGHTS) {
|
||||
if (cmsg->cmsg_type != SCM_RIGHTS) {
|
||||
fprintf(stderr, "got control message of unknown type %d\n",
|
||||
cmsg->cmsg_type);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue