summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index f6a65e4..d43784f 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -793,7 +793,7 @@ static void handle_socket(fastd_context_t *ctx, fastd_socket_t *sock) {
fastd_peer_address_simplify(&recvaddr);
- fastd_buffer_push_head(&buffer, 1);
+ fastd_buffer_push_head(ctx, &buffer, 1);
fastd_peer_t *peer = NULL;