Skip to content

Commit

Permalink
Merge pull request #8 from schiem/master
Browse files Browse the repository at this point in the history
Added time parameter to return value for OnATBarHistoryDbResponse
  • Loading branch information
sheldonth authored Aug 17, 2017
2 parents 2d6c154 + d166f0a commit cc002b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Requestor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ void Requestor::OnATBarHistoryDbResponse ( uint64_t origRequest,
ProtobufHelper::atsymbol_insert(s, symbol);
ATSymbolStatus status = parser.GetSymbolStatus();
value->set_status(NodeActiveTickProto::ATSymbolStatus(status));
NodeActiveTickProto::ATTime *time = value->mutable_time();//new NodeActiveTickProto::ATTime();
ATTIME t = parser.GetDateTime();
ProtobufHelper::attime_insert(&t, time);
parser.MoveToNextRecord();
}
int bin_size = dbResponse.ByteSize();
Expand Down

0 comments on commit cc002b9

Please sign in to comment.