diff options
author | Josh Blum | 2013-06-06 13:01:04 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-06 13:01:04 -0700 |
commit | 7350e18b8d5090349390f54b76a0e251b66ce619 (patch) | |
tree | 6ce12ebd668d120823c652f8b09d055a149d70dc /lib/block_handlers.cpp | |
parent | 3739e119b81f0898755817eff618d45eed7e6692 (diff) | |
download | sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.gz sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.bz2 sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.zip |
gras: moved block ptr into data
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r-- | lib/block_handlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp index e2fd71b..c52d974 100644 --- a/lib/block_handlers.cpp +++ b/lib/block_handlers.cpp @@ -15,7 +15,7 @@ void BlockActor::handle_top_active( if (data->block_state != BLOCK_STATE_LIVE) { - block_ptr->notify_active(); + data->block->notify_active(); data->stats.start_time = time_now(); } data->block_state = BLOCK_STATE_LIVE; @@ -154,7 +154,7 @@ void BlockActor::handle_get_stats( //create the message reply object GetStatsMessage message; - message.block_id = block_ptr->get_uid(); + message.block_id = data->block->get_uid(); message.stats = data->stats; message.stats_time = time_now(); |