Skip to content

Commit

Permalink
Merge "Issue while passing 0 as uint8 to stringstream"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Dec 24, 2015
2 parents c3d73bf + 9eabbf2 commit e593abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query_engine/QEOpServerProxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ class QEOpServerProxy::QEOpServerImpl {
void ConnUpPostProcess(uint8_t cnum) {

if (!connState_[cnum]) {
QE_LOG_NOQID(DEBUG, "ConnUp SetCB" << cnum);
QE_LOG_NOQID(DEBUG, "ConnUp SetCB" << (uint32_t)cnum);
cb_proc_fn_[cnum] = boost::bind(&QEOpServerImpl::CallbackProcess,
this, cnum, _1, _2, _3);
conns_[cnum].get()->SetClientAsyncCmdCb(cb_proc_fn_[cnum]);
Expand Down Expand Up @@ -884,7 +884,7 @@ class QEOpServerProxy::QEOpServerImpl {
}

void ConnDown(uint8_t cnum) {
QE_LOG_NOQID(DEBUG, "ConnDown.. DOWN.. Reconnect.." << cnum);
QE_LOG_NOQID(DEBUG, "ConnDown.. DOWN.. Reconnect.." << (uint32_t)cnum);
connState_[cnum] = false;
ConnectionState::GetInstance()->Update(ConnectionType::REDIS_QUERY,
"Query", ConnectionStatus::DOWN, conns_[cnum]->Endpoint(),
Expand Down

0 comments on commit e593abd

Please sign in to comment.