summaryrefslogtreecommitdiff
path: root/src/remote.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-09-25 19:04:52 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-09-25 19:04:52 +0100
commit3021c7f60aeefc0d871c577af7917adf08ef76e4 (patch)
tree7b87b435f8c28fc1c73e7ef836c041c408b0db0c /src/remote.hh
parentb080f456a71d32037a4122d8c0742bfb26898c1b (diff)
Remove $kak_socket replaced with $kak_session
use /tmp/kak-$kak_session to get the socket path
Diffstat (limited to 'src/remote.hh')
-rw-r--r--src/remote.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remote.hh b/src/remote.hh
index 189eb0c1..309770da 100644
--- a/src/remote.hh
+++ b/src/remote.hh
@@ -32,12 +32,12 @@ std::unique_ptr<RemoteClient> connect_to(const String& pid,
struct Server : public Singleton<Server>
{
- Server(const String& session_name);
+ Server(String session_name);
~Server();
- const String& filename() const { return m_filename; }
+ const String& session() const { return m_session; }
private:
- String m_filename;
+ String m_session;
std::unique_ptr<FDWatcher> m_listener;
};