Skip to content

Commit

Permalink
JSON deserialize bug (#8)
Browse files Browse the repository at this point in the history
Tincan Control JSON deserialize bugfix
  • Loading branch information
zhanleewo authored and kcratie committed Nov 16, 2018
1 parent 24bdd75 commit ac12c42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions trunk/src/tincan_control.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ TincanControl::TincanControl(
{
(*dict_req_) = ctrl[IPOP].removeMember(Request);
}
if(ctrl[IPOP][IPOP].isMember(Response))
(*dict_resp_) = ctrl.removeMember(Response);
if(ctrl[IPOP].isMember(Response)) {
(*dict_resp_) = ctrl[IPOP].removeMember(Response);
}
}

TincanControl::TincanControl(
Expand Down

0 comments on commit ac12c42

Please sign in to comment.