summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 04af40de3c..29736e6927 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -940,7 +940,11 @@ consider_hibernation(time_t now)
}
}
-/** DOCDOC */
+/** Helper function: called when we get a GETINFO request for an
+ * accounting-related key on the control connection <b>conn</b>. If we can
+ * answer the request for <b>question</b>, then set *<b>answer</b> to a newly
+ * allocated string holding the result. Otherwise, set *<b>answer</b> to
+ * NULL. */
int
getinfo_helper_accounting(control_connection_t *conn,
const char *question, char **answer)