summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handshake.c2
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 };