aboutsummaryrefslogtreecommitdiff
path: root/src/feature/metrics/metrics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/metrics/metrics.c')
-rw-r--r--src/feature/metrics/metrics.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/feature/metrics/metrics.c b/src/feature/metrics/metrics.c
index 7a77ab1104..9a72fe7145 100644
--- a/src/feature/metrics/metrics.c
+++ b/src/feature/metrics/metrics.c
@@ -258,6 +258,15 @@ metrics_connection_reached_eof(connection_t *conn)
return 0;
}
+/** Called when conn has no more bytes left on its outbuf. Return 0 indicating
+ * success. */
+int
+metrics_connection_finished_flushing(connection_t *conn)
+{
+ tor_assert(conn);
+ return 0;
+}
+
/** Initialize the subsystem. */
void
metrics_init(void)