diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2020-11-13 23:46:16 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2020-11-13 23:46:16 +0900 |
commit | e19e93df13a84b26db9f129f509ecb74a1b93145 (patch) | |
tree | 264e99934d1661e1d83508c3434c5d00e33a6ee1 /src/transport/plugin_transport_wlan.c | |
parent | c185348b6784a80bb8b394e34e3bf447d8dd1f57 (diff) | |
download | gnunet-e19e93df13a84b26db9f129f509ecb74a1b93145.tar.gz gnunet-e19e93df13a84b26db9f129f509ecb74a1b93145.zip |
-warnings mostly format
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 74b8d5a8a..1b2b6d0d2 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1436,8 +1436,8 @@ wlan_plugin_send (void *cls, | |||
1436 | char buf[size] GNUNET_ALIGN; | 1436 | char buf[size] GNUNET_ALIGN; |
1437 | 1437 | ||
1438 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1438 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1439 | "Transmitting %u bytes of payload to peer `%s' (starting with %u byte message of type %u)\n", | 1439 | "Transmitting %llu bytes of payload to peer `%s' (starting with %u byte message of type %u)\n", |
1440 | msgbuf_size, | 1440 | (unsigned long long) msgbuf_size, |
1441 | GNUNET_i2s (&session->target), | 1441 | GNUNET_i2s (&session->target), |
1442 | (unsigned int) ntohs (((struct GNUNET_MessageHeader*) msgbuf)->size), | 1442 | (unsigned int) ntohs (((struct GNUNET_MessageHeader*) msgbuf)->size), |
1443 | (unsigned int) ntohs (((struct GNUNET_MessageHeader*) msgbuf)->type)); | 1443 | (unsigned int) ntohs (((struct GNUNET_MessageHeader*) msgbuf)->type)); |
@@ -1871,8 +1871,9 @@ handle_helper_message (void *cls, | |||
1871 | if (msize < sizeof(struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage)) | 1871 | if (msize < sizeof(struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage)) |
1872 | { | 1872 | { |
1873 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1873 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1874 | "Size of packet is too small (%u bytes < %u)\n", | 1874 | "Size of packet is too small (%llu bytes < %llu)\n", |
1875 | msize, sizeof(struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage)); | 1875 | (unsigned long long) msize, |
1876 | (unsigned long long) sizeof(struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage)); | ||
1876 | break; | 1877 | break; |
1877 | } | 1878 | } |
1878 | rxinfo = (const struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage *) hdr; | 1879 | rxinfo = (const struct GNUNET_TRANSPORT_WLAN_RadiotapReceiveMessage *) hdr; |