diff options
Diffstat (limited to 'src/transport/tcp_connection_legacy.c')
-rw-r--r-- | src/transport/tcp_connection_legacy.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/tcp_connection_legacy.c b/src/transport/tcp_connection_legacy.c index 3e173b8a4..924362ef2 100644 --- a/src/transport/tcp_connection_legacy.c +++ b/src/transport/tcp_connection_legacy.c | |||
@@ -1142,9 +1142,9 @@ RETRY: | |||
1142 | return; | 1142 | return; |
1143 | } | 1143 | } |
1144 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1144 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1145 | "receive_ready read %u/%u bytes from `%s' (%p)!\n", | 1145 | "receive_ready read %lu/%lu bytes from `%s' (%p)!\n", |
1146 | (unsigned int) ret, | 1146 | (unsigned long) ret, |
1147 | connection->max, | 1147 | (unsigned long) connection->max, |
1148 | GNUNET_a2s (connection->addr, connection->addrlen), | 1148 | GNUNET_a2s (connection->addr, connection->addrlen), |
1149 | connection); | 1149 | connection); |
1150 | GNUNET_assert (NULL != (receiver = connection->receiver)); | 1150 | GNUNET_assert (NULL != (receiver = connection->receiver)); |
@@ -1327,8 +1327,8 @@ connect_error (void *cls) | |||
1327 | GNUNET_CONNECTION_TransmitReadyNotify notify; | 1327 | GNUNET_CONNECTION_TransmitReadyNotify notify; |
1328 | 1328 | ||
1329 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1329 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1330 | "Transmission request of size %u fails (%s/%u), connection failed (%p).\n", | 1330 | "Transmission request of size %lu fails (%s/%u), connection failed (%p).\n", |
1331 | connection->nth.notify_size, | 1331 | (unsigned long) connection->nth.notify_size, |
1332 | connection->hostname, | 1332 | connection->hostname, |
1333 | connection->port, | 1333 | connection->port, |
1334 | connection); | 1334 | connection); |
@@ -1423,9 +1423,9 @@ RETRY: | |||
1423 | return; | 1423 | return; |
1424 | } | 1424 | } |
1425 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1425 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1426 | "Connection transmitted %u/%u bytes to `%s' (%p)\n", | 1426 | "Connection transmitted %lu/%lu bytes to `%s' (%p)\n", |
1427 | (unsigned int) ret, | 1427 | (unsigned long) ret, |
1428 | have, | 1428 | (unsigned long) have, |
1429 | GNUNET_a2s (connection->addr, connection->addrlen), | 1429 | GNUNET_a2s (connection->addr, connection->addrlen), |
1430 | connection); | 1430 | connection); |
1431 | connection->write_buffer_pos += ret; | 1431 | connection->write_buffer_pos += ret; |