nghttpx: Connection: Explicit assignment to double field

This commit is contained in:
Tatsuhiro Tsujikawa 2015-02-05 21:26:55 +09:00
parent f3b247e4c8
commit 1216d7d912
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ Connection::Connection(struct ev_loop *loop, int fd, SSL *ssl,
wt.data = this;
rt.data = this;
// set 0. to double field explicitly just in case
tls.last_write_time = 0.;
}
Connection::~Connection() { disconnect(); }