diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-26 22:23:24 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-26 22:23:24 +0200 |
commit | 5074b7d5e10c2383a3379a6df8b0708783ac704b (patch) | |
tree | bdf0007f000218201446a182fee022b78ab8284c /src | |
parent | 2ffca7de4ef14aa03bc5a855005edbc9849862a7 (diff) | |
download | fastd-5074b7d5e10c2383a3379a6df8b0708783ac704b.tar fastd-5074b7d5e10c2383a3379a6df8b0708783ac704b.zip |
fastd_handshake_handle: Use data pointer instead of base
Diffstat (limited to 'src')
-rw-r--r-- | src/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c index 8fc82d0..97ddde4 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -90,7 +90,7 @@ void fastd_handshake_handle(fastd_context *ctx, fastd_peer *peer, fastd_buffer b goto end_free; } - fastd_packet *packet = buffer.base; + fastd_packet *packet = buffer.data; size_t lengths[RECORD_MAX]; void *records[RECORD_MAX] = { 0 }; |