diff options
Diffstat (limited to 'src/server/ServerInterfaceImpl.cpp')
-rw-r--r-- | src/server/ServerInterfaceImpl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/ServerInterfaceImpl.cpp b/src/server/ServerInterfaceImpl.cpp index fcf9cc00..bc9e56c4 100644 --- a/src/server/ServerInterfaceImpl.cpp +++ b/src/server/ServerInterfaceImpl.cpp @@ -60,10 +60,12 @@ ServerInterfaceImpl::now() const } void -ServerInterfaceImpl::set_next_response_id(int32_t id) +ServerInterfaceImpl::respond_to(ClientInterface* client, int32_t id) { - if (_request) + if (_request) { + _request->set_client(client); _request->set_id(id); + } } void |