summaryrefslogtreecommitdiffstats
path: root/src/handshake.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-25 14:21:47 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-25 14:21:47 +0200
commit59a5b833216b62f28c816df7c9129bf0954993e0 (patch)
tree64c35f8ddcc8eafa9e12663b8eb12ba836ea1886 /src/handshake.c
parent6ce20e2bb6660694e995d890f2846fc26c96c8f7 (diff)
downloadfastd-59a5b833216b62f28c816df7c9129bf0954993e0.tar
fastd-59a5b833216b62f28c816df7c9129bf0954993e0.zip
Change parse to push API, fix some parser bugs
Diffstat (limited to 'src/handshake.c')
-rw-r--r--src/handshake.c2
1 files changed, 1 insertions, 1 deletions
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: