From 59a5b833216b62f28c816df7c9129bf0954993e0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 25 Mar 2012 14:21:47 +0200 Subject: Change parse to push API, fix some parser bugs --- src/handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handshake.c') diff --git a/src/handshake.c b/src/handshake.c index 6220ddf..8fc82d0 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -184,7 +184,7 @@ void fastd_handshake_handle(fastd_context *ctx, fastd_peer *peer, fastd_buffer b case REPLY_SUCCESS: pr_info(ctx, "Handshake with %P successful.", peer); fastd_peer_set_established(ctx, peer); - ctx->conf->protocol->init(ctx, peer); + ctx->conf->protocol->init_peer(ctx, peer); break; default: -- cgit v1.2.3