aboutsummaryrefslogtreecommitdiff
path: root/src/feature/api
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-17 08:39:49 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-17 08:39:49 -0500
commitd7a22160f54dfa90702cfd6d6f83a0a75909edcb (patch)
treecafab8037538d0270405b9cacdbaef354a011f57 /src/feature/api
parent7f03ba06d8447025ef3e53906ebe9bcdd0d4d1b5 (diff)
downloadtor-d7a22160f54dfa90702cfd6d6f83a0a75909edcb.tar.gz
tor-d7a22160f54dfa90702cfd6d6f83a0a75909edcb.zip
Revert "Restore feature where nt-services detect non-"run_tor" modes."
This reverts commit 5c240db0bf7751d74ba438a1ca4ef0d051a53df7.
Diffstat (limited to 'src/feature/api')
-rw-r--r--src/feature/api/tor_api_internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/feature/api/tor_api_internal.h b/src/feature/api/tor_api_internal.h
index ef06cd7e6f..d52b2caf44 100644
--- a/src/feature/api/tor_api_internal.h
+++ b/src/feature/api/tor_api_internal.h
@@ -29,11 +29,6 @@ struct tor_main_configuration_t {
/** Socket that Tor will use as an owning control socket. Owned. */
tor_socket_t owning_controller_socket;
-
- /** Disable commands other than "run tor". Not for use from outside Tor
- * itself; if you need to use this for embedding, please contact the tor
- * developers. */
- int run_tor_only;
};
#endif /* !defined(TOR_API_INTERNAL_H) */