Fix connection weight estimation.

This commit is contained in:
Guus Sliepen 2007-10-19 18:53:48 +00:00
parent 6c453769fd
commit 54892b2e3e

View file

@ -40,6 +40,8 @@
bool send_id(connection_t *c) { bool send_id(connection_t *c) {
cp(); cp();
gettimeofday(&c->start, NULL);
return send_request(c, "%d %s %d", ID, myself->connection->name, return send_request(c, "%d %s %d", ID, myself->connection->name,
myself->connection->protocol_version); myself->connection->protocol_version);
} }