summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 351ab08549..2fb70b5887 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -505,6 +505,6 @@ command_setup_listener(channel_t *listener)
tor_assert(listener);
tor_assert(listener->state == CHANNEL_STATE_LISTENING);
- channel_set_listener(listener, command_handle_incoming_channel);
+ channel_set_listener_fn(listener, command_handle_incoming_channel);
}