diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-27 15:57:30 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-27 15:57:30 +0000 |
commit | 0c16bf02e75754148028d92fc495d9328cbe815f (patch) | |
tree | 407dc8a6cfed2cb33dfae0a6f6b33cfd284c453e /src/transport/plugin_transport_unix.c | |
parent | 3716d50b290b939ff856196806951c134eff88ff (diff) | |
download | gnunet-0c16bf02e75754148028d92fc495d9328cbe815f.tar.gz gnunet-0c16bf02e75754148028d92fc495d9328cbe815f.zip |
- debugging msgs
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index e4d756408..17d50a0c5 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "gnunet_transport_plugin.h" | 42 | #include "gnunet_transport_plugin.h" |
43 | #include "transport.h" | 43 | #include "transport.h" |
44 | 44 | ||
45 | #define DEBUG_UNIX GNUNET_EXTRA_LOGGING | 45 | #define DEBUG_UNIX GNUNET_EXTRALOGGING |
46 | #define DETAILS GNUNET_NO | 46 | #define DETAILS GNUNET_NO |
47 | 47 | ||
48 | #define MAX_PROBES 20 | 48 | #define MAX_PROBES 20 |
@@ -439,7 +439,7 @@ unix_real_send (void *cls, | |||
439 | #if DEBUG_UNIX | 439 | #if DEBUG_UNIX |
440 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 440 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
441 | "Trying to increase socket buffer size from %i to %i for message size %i\n", | 441 | "Trying to increase socket buffer size from %i to %i for message size %i\n", |
442 | size, ((ssize / 1000) + 2) * 1000, ssize); | 442 | size, ((msgbuf_size / 1000) + 2) * 1000, msgbuf_size); |
443 | #endif | 443 | #endif |
444 | size = ((msgbuf_size / 1000) + 2) * 1000; | 444 | size = ((msgbuf_size / 1000) + 2) * 1000; |
445 | if (GNUNET_NETWORK_socket_setsockopt | 445 | if (GNUNET_NETWORK_socket_setsockopt |
@@ -626,7 +626,7 @@ unix_plugin_send (void *cls, | |||
626 | GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper); | 626 | GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper); |
627 | 627 | ||
628 | #if DEBUG_UNIX | 628 | #if DEBUG_UNIX |
629 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", sent, | 629 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", ssize, |
630 | (char *) session->addr); | 630 | (char *) session->addr); |
631 | #endif | 631 | #endif |
632 | 632 | ||
@@ -725,7 +725,7 @@ unix_plugin_send_old (void *cls, const struct GNUNET_PeerIdentity *target, | |||
725 | GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper); | 725 | GNUNET_CONTAINER_DLL_insert(plugin->msg_head, plugin->msg_tail, wrapper); |
726 | 726 | ||
727 | #if DEBUG_UNIX | 727 | #if DEBUG_UNIX |
728 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", sent, | 728 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sent %d bytes to `%s'\n", ssize, |
729 | (char *) addr); | 729 | (char *) addr); |
730 | #endif | 730 | #endif |
731 | return ssize; | 731 | return ssize; |