From 9c1a2e4d393f56872f8c7ed5ad14aee5e4863e92 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Apr 2012 03:43:42 +0200 Subject: Fix handshakes occuring twice after unexpected data receive --- src/task.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/task.c') diff --git a/src/task.c b/src/task.c index 9526508..c45bbcc 100644 --- a/src/task.c +++ b/src/task.c @@ -76,6 +76,8 @@ void fastd_task_schedule_handshake(fastd_context *ctx, fastd_peer *peer, int tim return; } + pr_debug(ctx, "scheduling handshake with %P", peer); + fastd_task *task = malloc(sizeof(fastd_task)); task->type = TASK_HANDSHAKE; -- cgit v1.2.3