diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-02 19:41:17 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-02 19:41:17 +0100 |
commit | 3a4964f5e8c07943474036e594698b313a73d502 (patch) | |
tree | 232984b71eed3d874feb179b78272b8d7b69d4fd /src/task.c | |
parent | 0f2e170ea6edee4df0f90a3821d5c054db6bd6b7 (diff) | |
download | fastd-3a4964f5e8c07943474036e594698b313a73d502.tar fastd-3a4964f5e8c07943474036e594698b313a73d502.zip |
Allow floating peers
Diffstat (limited to 'src/task.c')
-rw-r--r-- | src/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,11 +45,11 @@ static void fastd_task_put_send_type(fastd_context *ctx, fastd_peer *peer, uint8 } void fastd_task_put_send_handshake(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer) { - fastd_task_put_send_type(ctx, peer, 1, buffer); + fastd_task_put_send_type(ctx, peer, PACKET_HANDSHAKE, buffer); } void fastd_task_put_send(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer) { - fastd_task_put_send_type(ctx, peer, 0, buffer); + fastd_task_put_send_type(ctx, peer, PACKET_DATA, buffer); } void fastd_task_put_handle_recv(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer) { |