summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-unix.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 18:18:00 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 18:18:00 +0200
commitd20be8a919b93cbfd1e1de3b41ca0fa370949b05 (patch)
treec76472fb42d78749172d37a74c0b704d5a21ee1c /src/transport/gnunet-communicator-unix.c
parent198c09654354d09a9b33f27cf095e0295f70826c (diff)
tng: UNIX communicator fixes. Test fixes
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r--src/transport/gnunet-communicator-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c
index 27dda7281..148f7f886 100644
--- a/src/transport/gnunet-communicator-unix.c
+++ b/src/transport/gnunet-communicator-unix.c
@@ -669,7 +669,7 @@ setup_queue (const struct GNUNET_PeerIdentity *target,
queue->qh = GNUNET_TRANSPORT_communicator_mq_add (ch,
&queue->target,
foreign_addr,
- UNIX_MTU,
+ UNIX_MTU - sizeof (struct UNIXMessage),
GNUNET_TRANSPORT_QUEUE_LENGTH_UNLIMITED,
0,
GNUNET_NT_LOOPBACK,