0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-05-02 19:21:44 +00:00
Files

12 lines
370 B
Diff
Raw Permalink Normal View History

2022-02-03 11:09:05 +01:00
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
2024-10-02 01:03:56 +00:00
@@ -138,7 +138,7 @@ struct sockaddr_un *ipc_user_sockaddr(vo
2022-02-03 11:09:05 +01:00
dir = "/tmp";
}
if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size,
- "%s/sway-ipc.%u.%i.sock", dir, getuid(), getpid())) {
+ "%s/sway-ipc.%u.sock", dir, getuid())) {
sway_abort("Socket path won't fit into ipc_sockaddr->sun_path");
}