summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2012-10-08 20:49:19 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-08 20:49:19 -0700
commit89a00ee63ae61e707343432dd9f74702cf60ac3c (patch)
tree4d13e8e586878e33457e4bbaa7f6c431860795a0 /src/or/command.c
parentee4e88e4d9891a24334870616067d21580f95704 (diff)
downloadtor-89a00ee63ae61e707343432dd9f74702cf60ac3c.tar.gz
tor-89a00ee63ae61e707343432dd9f74702cf60ac3c.zip
Use typedefs for function pointer return values and s/listener/listener_fn/ for distinctness
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);
}