mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
access: always put access in property
Improve debug
This commit is contained in:
parent
cd7763c814
commit
07cc07597c
3 changed files with 27 additions and 16 deletions
|
|
@ -87,6 +87,7 @@ int pw_protocol_native_connect_local_socket(struct pw_protocol_client *client,
|
|||
size = offsetof(struct sockaddr_un, sun_path) + name_size;
|
||||
|
||||
if (connect(fd, (struct sockaddr *) &addr, size) < 0) {
|
||||
pw_log_debug("connect to '%s' failed: %m", name);
|
||||
if (errno == ENOENT)
|
||||
errno = EHOSTDOWN;
|
||||
res = -errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue