mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Return success when get_total_system_memory() succeeds.
Fixes bug 11805; bugfix on 0.2.5.4-alpha.
This commit is contained in:
parent
defe541a30
commit
a32d7e1910
5
changes/bug11805
Normal file
5
changes/bug11805
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes:
|
||||
- Correctly detect the total available system memory. We tried to do this
|
||||
in 0.2.5.4-alpha, but the code was set up to always return an error
|
||||
value, even on success.
|
||||
Fixes bug 11805; bugfix on 0.2.5.4-alpha.
|
@ -3453,6 +3453,6 @@ get_total_system_memory(size_t *mem_out)
|
||||
|
||||
*mem_out = mem_cached = (size_t) m;
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user