Skip to content

Commit

Permalink
Create and integrate global_state struct to allow shadow to swap glob…
Browse files Browse the repository at this point in the history
…al variables in and out
  • Loading branch information
icbaker committed Mar 21, 2013
1 parent a693cf6 commit d6377a7
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 107 deletions.
2 changes: 1 addition & 1 deletion tests/test_transfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void test_manager::Flush(uint32 start_time, uint32 max_time)
TestUdpOutgoing *uo = _send_buffer[i];
// utassert(uo);

if ((uint32)uo->timestamp > g_current_ms) continue;
if ((uint32)uo->timestamp > global_state->g_current_ms) continue;

if (_receiver) {
// Lookup the right UTP socket that can handle this message
Expand Down

0 comments on commit d6377a7

Please sign in to comment.