[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #20887 [Core Tor/Tor]: DIRCACHE_MIN_MB_BANDWIDTH does not stringify on FreeBSD, we should use %d instead
#20887: DIRCACHE_MIN_MB_BANDWIDTH does not stringify on FreeBSD, we should use %d
instead
------------------------------+---------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.???
Component: Core Tor/Tor | Version: Tor: 0.2.8.1-alpha
Severity: Normal | Keywords: easy intro refactor
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+---------------------------------
A FreeBSD relay operator reports the message:
{{{
[WARN] Being a directory cache (default) with less than
DIRCACHE_MIN_MB_BANDWIDTH MB of memory is not recommended and may consume
most of the available resources, consider disabling this functionality by
setting the DirCache option to 0
}}}
So we should print the macro value the same way we do every other value,
using "%d" in the string, and passing it as an argument.
This macro will change name in #20684.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20887>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs