summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-12 19:13:46 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-12 19:13:46 +0000
commite5f8178881e8fa8af23574b8303f0396f79c0834 (patch)
tree902abb0292eced697d11f880142926b9451ad2e6 /src/transport/gnunet-service-transport_validation.c
parent434c9f5673737753ddfb882d616465b22c5fb027 (diff)
generate our own HELLO before starting validations
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index cdb2fb63b..323fd042a 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -541,13 +541,7 @@ transmit_ping_if_allowed (void *cls,
return;
}
hello = GST_hello_get ();
- if (NULL == hello)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Not PINGing peer `%s' as our HELLO is not yet ready\n",
- GNUNET_i2s (pid));
- return;
- }
+ GNUNET_assert (NULL != hello);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Transmitting plain PING to `%s' `%s' `%s'\n",
GNUNET_i2s (pid),