diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
commit | 1f09f4f7716db5939ec1c9a278b5661616dd72d6 (patch) | |
tree | ff52f060245b574aace08d5db5016c22b56a7876 /src/transport | |
parent | 720afac61536fbb212c0010f31764704c12aab0f (diff) | |
download | gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.tar.gz gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.zip |
-help seaspider some more
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_smtp.c | 6 | ||||
-rw-r--r-- | src/transport/plugin_transport_udp.c | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/transport/plugin_transport_smtp.c b/src/transport/plugin_transport_smtp.c index b589e1177..609b11596 100644 --- a/src/transport/plugin_transport_smtp.c +++ b/src/transport/plugin_transport_smtp.c | |||
@@ -774,7 +774,7 @@ api_associate (GNUNET_TSession * tsession) | |||
774 | * frequency limits to SMTP in the future!). | 774 | * frequency limits to SMTP in the future!). |
775 | */ | 775 | */ |
776 | static int | 776 | static int |
777 | api_test_would_try (GNUNET_TSession * tsession, const unsigned int size, | 777 | api_test_would_try (GNUNET_TSession * tsession, unsigned int size, |
778 | int important) | 778 | int important) |
779 | { | 779 | { |
780 | return GNUNET_OK; /* we always try... */ | 780 | return GNUNET_OK; /* we always try... */ |
@@ -785,10 +785,8 @@ api_test_would_try (GNUNET_TSession * tsession, const unsigned int size, | |||
785 | * returns the smtp transport API. | 785 | * returns the smtp transport API. |
786 | */ | 786 | */ |
787 | GNUNET_TransportAPI * | 787 | GNUNET_TransportAPI * |
788 | inittransport_smtp (GNUNET_CoreAPIForTransport * core) | 788 | inittransport_smtp (struct GNUNET_CoreAPIForTransport * core) |
789 | { | 789 | { |
790 | |||
791 | |||
792 | unsigned long long mtu; | 790 | unsigned long long mtu; |
793 | struct sigaction sa; | 791 | struct sigaction sa; |
794 | 792 | ||
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index ae710c73c..76fd1a6cd 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1760,8 +1760,6 @@ udp_select_send (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *sock) | |||
1760 | ssize_t sent; | 1760 | ssize_t sent; |
1761 | size_t slen; | 1761 | size_t slen; |
1762 | struct GNUNET_TIME_Absolute max; | 1762 | struct GNUNET_TIME_Absolute max; |
1763 | struct GNUNET_TIME_Absolute ; | ||
1764 | |||
1765 | struct UDPMessageWrapper *udpw = NULL; | 1763 | struct UDPMessageWrapper *udpw = NULL; |
1766 | 1764 | ||
1767 | if (sock == plugin->sockv4) | 1765 | if (sock == plugin->sockv4) |
@@ -1859,9 +1857,9 @@ udp_select_send (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *sock) | |||
1859 | * have a valid global IPv6 address assigned | 1857 | * have a valid global IPv6 address assigned |
1860 | */ | 1858 | */ |
1861 | LOG (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 1859 | LOG (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
1862 | _("UDP could not message to `%s': `%s'\n, " \ | 1860 | _("UDP could not message to `%s': `%s'. " |
1863 | "Please check your network configuration and disable IPv6 if your\n" \ | 1861 | "Please check your network configuration and disable IPv6 if your " |
1864 | "connection does not have a global IPv6 address"), | 1862 | "connection does not have a global IPv6 address\n"), |
1865 | GNUNET_a2s (sa, slen), | 1863 | GNUNET_a2s (sa, slen), |
1866 | STRERROR (errno)); | 1864 | STRERROR (errno)); |
1867 | } | 1865 | } |