diff options
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r-- | src/transport/gnunet-communicator-unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c index 6ea0ea360..d7e18f87a 100644 --- a/src/transport/gnunet-communicator-unix.c +++ b/src/transport/gnunet-communicator-unix.c | |||
@@ -673,7 +673,8 @@ setup_queue (const struct GNUNET_PeerIdentity *target, | |||
673 | queue->qh = GNUNET_TRANSPORT_communicator_mq_add (ch, | 673 | queue->qh = GNUNET_TRANSPORT_communicator_mq_add (ch, |
674 | &queue->target, | 674 | &queue->target, |
675 | foreign_addr, | 675 | foreign_addr, |
676 | UNIX_MTU - sizeof (struct UNIXMessage), | 676 | UNIX_MTU - sizeof (struct |
677 | UNIXMessage), | ||
677 | GNUNET_TRANSPORT_QUEUE_LENGTH_UNLIMITED, | 678 | GNUNET_TRANSPORT_QUEUE_LENGTH_UNLIMITED, |
678 | 0, | 679 | 0, |
679 | GNUNET_NT_LOOPBACK, | 680 | GNUNET_NT_LOOPBACK, |
@@ -799,7 +800,7 @@ select_read_cb (void *cls) | |||
799 | /* ensure aligned access */ | 800 | /* ensure aligned access */ |
800 | memcpy (&al_hdr, currhdr, sizeof(al_hdr)); | 801 | memcpy (&al_hdr, currhdr, sizeof(al_hdr)); |
801 | if ((tsize < sizeof(struct GNUNET_MessageHeader)) || | 802 | if ((tsize < sizeof(struct GNUNET_MessageHeader)) || |
802 | (tsize != ntohs(al_hdr.size))) | 803 | (tsize != ntohs (al_hdr.size))) |
803 | { | 804 | { |
804 | GNUNET_break_op (0); | 805 | GNUNET_break_op (0); |
805 | return; | 806 | return; |