diff options
author | joschiwald <joschiwald.trinity@gmail.com> | 2014-12-07 01:24:00 +0100 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2014-12-07 01:24:00 +0100 |
commit | b68b6417f66d629a3322985272f57e2d1816ab38 (patch) | |
tree | 76d4eecf68aaa57687bc5c10961ce7894b8f64bb /src/server/ipc/ZmqMux.cpp | |
parent | 9cda85a38817179ae48ead6080ae2a200f2310de (diff) |
Core: fixed few coverity issues and warnings
Diffstat (limited to 'src/server/ipc/ZmqMux.cpp')
-rw-r--r-- | src/server/ipc/ZmqMux.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/ipc/ZmqMux.cpp b/src/server/ipc/ZmqMux.cpp index 2b62eaaf1eb..0f87106a948 100644 --- a/src/server/ipc/ZmqMux.cpp +++ b/src/server/ipc/ZmqMux.cpp @@ -18,15 +18,15 @@ #include "ZmqMux.h" #include "ZmqContext.h" -ZmqMux::ZmqMux(std::string from_uri, std::string to_uri): - _fromAddress(from_uri) +ZmqMux::ZmqMux(std::string const& fromUri, std::string const& toUri): + _fromAddress(fromUri) { - printf("Opening muxer thread from %s to %s\n", from_uri.c_str(), to_uri.c_str()); + printf("Opening muxer thread from %s to %s\n", fromUri.c_str(), toUri.c_str()); _from = sIpcContext->CreateNewSocket(zmqpp::socket_type::pull); _to = sIpcContext->CreateNewSocket(zmqpp::socket_type::push); - _from->bind(from_uri); - _to->connect(to_uri); + _from->bind(fromUri); + _to->connect(toUri); } ZmqMux::~ZmqMux() |