Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: rl1987/tor
base: master
head repository: rl1987/tor
compare: bug25852
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 0 comments
  • 1 contributor
Showing with 5 additions and 2 deletions.
  1. +3 −0 changes/bug25852
  2. +2 −2 src/or/policies.c
@@ -0,0 +1,3 @@
o Minor bugfixes (control interface):
- Respond with more sensible error message to GETINFO exit-policy/full
when not running as onion router. Fixes bug 25852; bugfix on 0.2.8.1-alpha.
@@ -3000,7 +3000,7 @@ getinfo_helper_policies(control_connection_t *conn,
const routerinfo_t *me = router_get_my_routerinfo();

if (!me) {
*errmsg = "router_get_my_routerinfo returned NULL";
*errmsg = "Not running in server mode";
return -1;
}

@@ -3052,7 +3052,7 @@ getinfo_helper_policies(control_connection_t *conn,
}

if (!me) {
*errmsg = "router_get_my_routerinfo returned NULL";
*errmsg = "Not running in server mode";
return -1;
}

No commit comments for this range