aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-04-27 10:07:01 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-04-27 10:07:01 +0000
commit34f48ffc58b888ef3d778f343eaf988a20166127 (patch)
treea9309bc26d326d7431c3033dfc63c6546f84c59b /src/transport/plugin_transport_unix.c
parent9b9ef193003418418b896dfcfd861dfd423db8e8 (diff)
downloadgnunet-34f48ffc58b888ef3d778f343eaf988a20166127.tar.gz
gnunet-34f48ffc58b888ef3d778f343eaf988a20166127.zip
- fixes
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index 46dee9ce3..041a7997a 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -448,9 +448,13 @@ unix_real_send (void *cls,
448 if (GNUNET_NETWORK_socket_setsockopt 448 if (GNUNET_NETWORK_socket_setsockopt
449 ((struct GNUNET_NETWORK_Handle *) send_handle, SOL_SOCKET, SO_SNDBUF, 449 ((struct GNUNET_NETWORK_Handle *) send_handle, SOL_SOCKET, SO_SNDBUF,
450 &size, sizeof (size)) == GNUNET_OK) 450 &size, sizeof (size)) == GNUNET_OK)
451 retry = GNUNET_YES; 451 {
452 sent = GNUNET_NETWORK_socket_sendto (send_handle, msgbuf, msgbuf_size, sb, sbs);
453 }
452 else 454 else
455 {
453 GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "setsockopt"); 456 GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "setsockopt");
457 }
454 } 458 }
455 } 459 }
456 460