aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-08-20 11:32:37 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-08-20 11:32:37 +0000
commit3be770f0af401c2d23366b951df830d7c0fcac64 (patch)
tree2ecb1e6300e5b3475a0d2a2dc77f0d21abdff700 /src/transport/plugin_transport_wlan.c
parent5bed496e33325c1df3d8b48d57fd1ea032b9a773 (diff)
downloadgnunet-3be770f0af401c2d23366b951df830d7c0fcac64.tar.gz
gnunet-3be770f0af401c2d23366b951df830d7c0fcac64.zip
fixing clang reports
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 42ed771f4..013020680 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -812,6 +812,12 @@ transmit_fragment (void *cls,
812 size_t size; 812 size_t size;
813 uint16_t msize; 813 uint16_t msize;
814 814
815 if (NULL == endpoint)
816 {
817 GNUNET_break (0);
818 return;
819 }
820
815 msize = ntohs (hdr->size); 821 msize = ntohs (hdr->size);
816 size = sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) + msize; 822 size = sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) + msize;
817 { 823 {