From 5074b7d5e10c2383a3379a6df8b0708783ac704b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 26 Mar 2012 22:23:24 +0200 Subject: fastd_handshake_handle: Use data pointer instead of base --- src/handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- cgit v1.2.3