diff options
Diffstat (limited to 'lib/smux.c')
| -rw-r--r-- | lib/smux.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/smux.c b/lib/smux.c index 370b8f138e..e0db87e4b0 100644 --- a/lib/smux.c +++ b/lib/smux.c @@ -1197,13 +1197,16 @@ smux_event (enum smux_event event, int sock) switch (event) { case SMUX_SCHEDULE: - smux_connect_thread = thread_add_event (smux_master, smux_connect, NULL, 0); + smux_connect_thread = thread_add_event(smux_master, smux_connect, NULL, + 0, NULL); break; case SMUX_CONNECT: - smux_connect_thread = thread_add_timer (smux_master, smux_connect, NULL, 10); + smux_connect_thread = thread_add_timer(smux_master, smux_connect, NULL, + 10, NULL); break; case SMUX_READ: - smux_read_thread = thread_add_read (smux_master, smux_read, NULL, sock); + smux_read_thread = thread_add_read(smux_master, smux_read, NULL, sock, + NULL); break; default: break; |
