diff options
Diffstat (limited to 'netfs/daemonService.cpp')
-rw-r--r-- | netfs/daemonService.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netfs/daemonService.cpp b/netfs/daemonService.cpp index ce3d70c..04ff9da 100644 --- a/netfs/daemonService.cpp +++ b/netfs/daemonService.cpp @@ -1,14 +1,15 @@ #include "daemonService.h" -ServiceServer::ServiceServer(DaemonGlobalStatePtr dgs) : - DaemonModule(dgs) +ServiceServer::ServiceServer(int16_t hs, DaemonGlobalStatePtr dgs) : + DaemonModule(dgs), + hostseed(hs) { } Ice::Long ServiceServer::connect(const std::string & share, const std::string & auth, const Ice::Current &) { - DaemonGlobalState::NSP s = dgs->newSession(share); + DaemonGlobalState::NSP s = dgs->newSession(hostseed, share); return s.get<0>(); } |