Skip to content

Commit

Permalink
Fix snapshot delta sign.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed May 12, 2014
1 parent 0442779 commit 29319da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memtrail.cpp
Expand Up @@ -816,7 +816,7 @@ memtrail_snapshot(void) {
size_t current_total_size = total_size;
size_t current_delta_size;
if (snapshot_no)
current_delta_size = last_snapshot_size - current_total_size;
current_delta_size = current_total_size - last_snapshot_size;
else
current_delta_size = 0;
last_snapshot_size = current_total_size;
Expand Down

0 comments on commit 29319da

Please sign in to comment.