From ee9f7bafbb2a8dd2ecd794b2d78e90022ef139fe Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 14 May 2018 02:54:50 +0200 Subject: POTD skeleton #50. Signed-off-by: Toni Uhlig --- src/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol.c') diff --git a/src/protocol.c b/src/protocol.c index 0bea5a3..5b487f1 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -34,7 +34,7 @@ int proto_setup(protocol_ctx *ctx, const char *listen_addr, if (!ctx->cbs.on_listen) return 1; - if (ctx->cbs.on_listen(ctx, listen_addr, listen_port)) + if (ctx->cbs.on_listen(ctx)) return 1; return 0; -- cgit v1.2.3