Use tor_asprintf for in have_enough_mem_for_dircache()

(Fixes bug 20887)
This commit is contained in:
Neel Chauhan
2018-03-19 12:27:07 -04:00
committed by Nick Mathewson
parent b0f0c0f550
commit bc5f79b95c
2 changed files with 11 additions and 8 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (freebsd):
- In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
does not stringify on FreeBSD, so we switch to tor_asprintf(). Fixes
bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.