summaryrefslogtreecommitdiff
path: root/src/lib/sandbox
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-12-08 14:59:28 -0500
committerNick Mathewson <nickm@torproject.org>2020-12-08 14:59:28 -0500
commitbaef0843a424116026f3f97185dae89271903041 (patch)
treeda4c1885084c6d4c94accf86247f8f7bee87b3a9 /src/lib/sandbox
parentdbc8d2a4e476c06f59db3ff79b66afc8bc4ea27c (diff)
downloadtor-baef0843a424116026f3f97185dae89271903041.tar.gz
tor-baef0843a424116026f3f97185dae89271903041.zip
Fix a couple of documentation comments related to #40094
Diffstat (limited to 'src/lib/sandbox')
-rw-r--r--src/lib/sandbox/sandbox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index d9ad8ec2c6..168dfd943c 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -1229,7 +1229,9 @@ static sandbox_filter_func_t filter_func[] = {
/**
* Return the interned (and hopefully sandbox-permitted) string equal
* to @a str.
- */
+ *
+ * Return NULL if `str` is NULL, or `str` is not an interned string.
+ **/
const char *
sandbox_intern_string(const char *str)
{