From 54892b2e3efcbbbd65b26a32f487829bbb8d787c Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 19 Oct 2007 18:53:48 +0000 Subject: [PATCH] Fix connection weight estimation. --- src/protocol_auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 291c4b01..46bb6e64 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -40,6 +40,8 @@ bool send_id(connection_t *c) { cp(); + gettimeofday(&c->start, NULL); + return send_request(c, "%d %s %d", ID, myself->connection->name, myself->connection->protocol_version); }