protocol-native: add some more debug

This commit is contained in:
Wim Taymans 2023-04-21 15:05:34 +02:00
parent e75fc459b3
commit bf18ba839f
2 changed files with 3 additions and 0 deletions

View file

@ -258,10 +258,12 @@ recv_error:
return -errno;
cmsgs_truncated:
pw_log_debug("connection %p: cmsg truncated", conn);
close_all_fds(&msg, CMSG_FIRSTHDR(&msg));
return -EPROTO;
too_many_fds:
pw_log_debug("connection %p: too many fds", conn);
close_all_fds(&msg, cmsg);
return -EPROTO;
}