summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-26 22:23:24 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-26 22:23:24 +0200
commit5074b7d5e10c2383a3379a6df8b0708783ac704b (patch)
treebdf0007f000218201446a182fee022b78ab8284c
parent2ffca7de4ef14aa03bc5a855005edbc9849862a7 (diff)
downloadfastd-5074b7d5e10c2383a3379a6df8b0708783ac704b.tar
fastd-5074b7d5e10c2383a3379a6df8b0708783ac704b.zip
fastd_handshake_handle: Use data pointer instead of base
-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 };