aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-12-01 12:40:05 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-12-01 12:40:05 +0900
commit460cc837899c52fdad3d52492af932a71dd888e3 (patch)
tree371bd67dffb6346aaca8121ee73d608f7a12ba6c /src/transport
parent7edc2569f7ecc0e671e25571a09d2b14d4756d5b (diff)
downloadgnunet-460cc837899c52fdad3d52492af932a71dd888e3.tar.gz
gnunet-460cc837899c52fdad3d52492af932a71dd888e3.zip
-add FIXME to nat service _unregister; fix printf format in tcp communicator
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-communicator-tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c
index a8dbed604..84aa45b9a 100644
--- a/src/transport/gnunet-communicator-tcp.c
+++ b/src/transport/gnunet-communicator-tcp.c
@@ -1448,7 +1448,7 @@ handshake_ack_monotime_cb (void *cls,
1448 * @param queue The queue context. 1448 * @param queue The queue context.
1449 */ 1449 */
1450static void 1450static void
1451send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge, 1451send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge,
1452 struct Queue *queue) 1452 struct Queue *queue)
1453{ 1453{
1454 struct TCPConfirmationAck tca; 1454 struct TCPConfirmationAck tca;
@@ -1914,10 +1914,10 @@ queue_read (void *cls)
1914 &queue->cread_buf[queue->cread_off], 1914 &queue->cread_buf[queue->cread_off],
1915 BUF_SIZE - queue->cread_off); 1915 BUF_SIZE - queue->cread_off);
1916 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1916 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1917 "Received %lu bytes from TCP queue\n", rcvd); 1917 "Received %zd bytes from TCP queue\n", rcvd);
1918 GNUNET_log_from_nocheck (GNUNET_ERROR_TYPE_DEBUG, 1918 GNUNET_log_from_nocheck (GNUNET_ERROR_TYPE_DEBUG,
1919 "transport", 1919 "transport",
1920 "Received %lu bytes from TCP queue\n", rcvd); 1920 "Received %zd bytes from TCP queue\n", rcvd);
1921 if (-1 == rcvd) 1921 if (-1 == rcvd)
1922 { 1922 {
1923 if ((EAGAIN != errno) && (EINTR != errno)) 1923 if ((EAGAIN != errno) && (EINTR != errno))