projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54b415
)
bad over-optimization
author
Christian Grothoff
<christian@grothoff.org>
Wed, 5 Oct 2011 13:48:35 +0000
(13:48 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 5 Oct 2011 13:48:35 +0000
(13:48 +0000)
src/transport/transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/transport_api.c
b/src/transport/transport_api.c
index bf66fad2a7bbb12bf50dfadf77303a676a341897..bf37b4ac696b010d73d7ace6b38576da4cbadf13 100644
(file)
--- 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)
GNUNET_assert (h->control_tail == NULL);
h->client = GNUNET_CLIENT_connect ("transport", h->cfg);
GNUNET_assert (h->client != NULL);
- if ( (h->rec != NULL) ||
- (h->nc_cb != NULL) ||
- (h->nd_cb != NULL) )
- schedule_control_transmit (h, sizeof (struct StartMessage), &send_start, h);
+ schedule_control_transmit (h, sizeof (struct StartMessage), &send_start, h);
}