diff options
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 3c3c17d1a6..d318b5c9b8 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -658,13 +658,12 @@ policy_is_reject_star(addr_policy_t *p) } int -policies_getinfo_helper(const char *question, char **answer) +getinfo_helper_policies(control_connection_t *conn, + const char *question, char **answer) { + (void) conn; if (!strcmp(question, "exit-policy/default")) { *answer = tor_strdup(DEFAULT_EXIT_POLICY); -// } else if (!strcmp(question, "exit-policy/prepend")) { - } else { - *answer = NULL; } return 0; } |