[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10610 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10610 - gnunet/src/transport |
Date: |
Tue, 16 Mar 2010 10:16:51 +0100 |
Author: grothoff
Date: 2010-03-16 10:16:51 +0100 (Tue, 16 Mar 2010)
New Revision: 10610
Modified:
gnunet/src/transport/gnunet-service-transport.c
gnunet/src/transport/plugin_transport_tcp.c
Log:
fix
Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c 2010-03-16 09:04:51 UTC
(rev 10609)
+++ gnunet/src/transport/gnunet-service-transport.c 2010-03-16 09:16:51 UTC
(rev 10610)
@@ -2321,7 +2321,7 @@
GNUNET_i2s (&id));
#endif
GNUNET_STATISTICS_update (stats,
- gettext_noop ("# peer addresses not validated
(already in progress)"),
+ gettext_noop ("# peer addresses not validated
(in progress)"),
1,
GNUNET_NO);
return GNUNET_OK;
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-03-16 09:04:51 UTC (rev
10609)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-03-16 09:16:51 UTC (rev
10610)
@@ -288,6 +288,7 @@
struct PendingMessage *pm;
struct WelcomeMessage welcome;
+ GNUNET_assert (client != NULL);
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
"tcp",
"Creating new session for peer `%4s'\n",
@@ -596,6 +597,7 @@
where we could restrict the iteration to entries that match
the target peer... */
while ( (session != NULL) &&
+ (session->client != NULL) &&
( (0 != memcmp (target,
&session->target,
sizeof (struct GNUNET_PeerIdentity))) ||
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10610 - gnunet/src/transport,
gnunet <=