diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-30 10:47:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-30 10:47:58 +0000 |
commit | 2dbef6e2cfb3982ea113f47755f6e7fe80290642 (patch) | |
tree | e0256ca1fe9fe8c0bcd171d9be0a7db8f301fdd0 /src/transport/gnunet-service-transport_clients.c | |
parent | 71100696bec461d248b481e280a9ee64f9c8f6e4 (diff) | |
download | gnunet-2dbef6e2cfb3982ea113f47755f6e7fe80290642.tar.gz gnunet-2dbef6e2cfb3982ea113f47755f6e7fe80290642.zip |
fix
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.c')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index a3254998d..ce2a98333 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c | |||
@@ -533,7 +533,7 @@ clients_handle_send (void *cls, struct GNUNET_SERVER_Client *client, | |||
533 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 533 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
534 | stcc = GNUNET_malloc (sizeof (struct SendTransmitContinuationContext)); | 534 | stcc = GNUNET_malloc (sizeof (struct SendTransmitContinuationContext)); |
535 | stcc->target = obm->peer; | 535 | stcc->target = obm->peer; |
536 | stcc->client = client; // !!!! | 536 | stcc->client = client; |
537 | GNUNET_SERVER_client_keep (client); | 537 | GNUNET_SERVER_client_keep (client); |
538 | GST_neighbours_send (&obm->peer, obmm, msize, | 538 | GST_neighbours_send (&obm->peer, obmm, msize, |
539 | GNUNET_TIME_relative_ntoh (obm->timeout), | 539 | GNUNET_TIME_relative_ntoh (obm->timeout), |
@@ -902,10 +902,7 @@ GST_clients_unicast (struct GNUNET_SERVER_Client *client, | |||
902 | 902 | ||
903 | tc = lookup_client (client); | 903 | tc = lookup_client (client); |
904 | if (NULL == tc) | 904 | if (NULL == tc) |
905 | { | 905 | return; /* client got disconnected in the meantime, drop message */ |
906 | GNUNET_break (0); | ||
907 | return; | ||
908 | } | ||
909 | unicast (tc, msg, may_drop); | 906 | unicast (tc, msg, may_drop); |
910 | } | 907 | } |
911 | 908 | ||