diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-01 03:43:42 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-01 03:43:42 +0200 |
commit | 9c1a2e4d393f56872f8c7ed5ad14aee5e4863e92 (patch) | |
tree | 2824e9bcf14f6d34e0b331dd55eb371326c7bfd9 /src/task.c | |
parent | 2155d07a3e720db7e8642941ea97090e606e4aa4 (diff) | |
download | fastd-9c1a2e4d393f56872f8c7ed5ad14aee5e4863e92.tar fastd-9c1a2e4d393f56872f8c7ed5ad14aee5e4863e92.zip |
Fix handshakes occuring twice after unexpected data receive
Diffstat (limited to 'src/task.c')
-rw-r--r-- | src/task.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |