diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-05-08 00:32:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-05-08 00:32:22 -0400 |
commit | a32d7e1910176deef62583cef5d1195257bf3e17 (patch) | |
tree | ad3b78d240a77ff5131e2e4f45d4b8aa456815b3 /src/common | |
parent | defe541a3084532eb34bab82341752323cf7efca (diff) | |
download | tor-a32d7e1910176deef62583cef5d1195257bf3e17.tar.gz tor-a32d7e1910176deef62583cef5d1195257bf3e17.zip |
Return success when get_total_system_memory() succeeds.
Fixes bug 11805; bugfix on 0.2.5.4-alpha.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 974f697e34..7a444df106 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -3453,6 +3453,6 @@ get_total_system_memory(size_t *mem_out) *mem_out = mem_cached = (size_t) m; - return -1; + return 0; } |