diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-05 13:48:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-05 13:48:35 +0000 |
commit | b231dd68ce69d837b1172067d141ffe537e2d350 (patch) | |
tree | 8ed7b1874ccf8e42137bc83c2d83d79e60ced3c6 /src/transport/transport_api.c | |
parent | c54b4152fc250351d968f472f0e9c14dcdfeb04e (diff) | |
download | gnunet-b231dd68ce69d837b1172067d141ffe537e2d350.tar.gz gnunet-b231dd68ce69d837b1172067d141ffe537e2d350.zip |
bad over-optimization
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r-- | src/transport/transport_api.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index bf66fad2a..bf37b4ac6 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c | |||
@@ -893,10 +893,7 @@ reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
893 | GNUNET_assert (h->control_tail == NULL); | 893 | GNUNET_assert (h->control_tail == NULL); |
894 | h->client = GNUNET_CLIENT_connect ("transport", h->cfg); | 894 | h->client = GNUNET_CLIENT_connect ("transport", h->cfg); |
895 | GNUNET_assert (h->client != NULL); | 895 | GNUNET_assert (h->client != NULL); |
896 | if ( (h->rec != NULL) || | 896 | schedule_control_transmit (h, sizeof (struct StartMessage), &send_start, h); |
897 | (h->nc_cb != NULL) || | ||
898 | (h->nd_cb != NULL) ) | ||
899 | schedule_control_transmit (h, sizeof (struct StartMessage), &send_start, h); | ||
900 | } | 897 | } |
901 | 898 | ||
902 | 899 | ||