diff options
Diffstat (limited to 'src/remote.cc')
| -rw-r--r-- | src/remote.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.cc b/src/remote.cc index ef3b77bb..586b18bb 100644 --- a/src/remote.cc +++ b/src/remote.cc @@ -508,8 +508,8 @@ private: FDWatcher m_socket_watcher; }; -Server::Server() - : m_filename{"/tmp/kak-" + to_string(getpid())} +Server::Server(const String& session_name) + : m_filename{"/tmp/kak-" + session_name} { int listen_sock = socket(AF_UNIX, SOCK_STREAM, 0); fcntl(listen_sock, F_SETFD, FD_CLOEXEC); |
