diff options
author | Roger Dingledine <arma@torproject.org> | 2006-09-25 05:59:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-09-25 05:59:13 +0000 |
commit | ad430b9561be97fc3438ed87b2b2453ce41eae43 (patch) | |
tree | d79e87d84f05e4d005d0b7013323ef2492568397 /src/or/control.c | |
parent | bc848c8740a5f64cc52b97bccd03da7f64347da2 (diff) | |
download | tor-ad430b9561be97fc3438ed87b2b2453ce41eae43.tar.gz tor-ad430b9561be97fc3438ed87b2b2453ce41eae43.zip |
checkpoint changelog and general polishing
svn:r8497
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index e260f15347..16cc715b92 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1326,7 +1326,8 @@ list_getinfo_options(void) /** Lookup the 'getinfo' entry <b>question</b>, and return * the answer in <b>*answer</b> (or NULL if key not recognized). - * Return 0 if success, or -1 if recognized but internal error. */ + * Return 0 if success or unrecognized, or -1 if recognized but + * internal error. */ static int handle_getinfo_helper(const char *question, char **answer) { @@ -1572,7 +1573,7 @@ handle_getinfo_helper(const char *question, char **answer) } else if (!strcmpstart(question, "exit-policy/")) { return policies_getinfo_helper(question, answer); } - return 0; + return 0; /* unrecognized */ } /** Called when we receive a GETINFO command. Try to fetch all requested |