commit | fe46980c85354e35ccd342b971855d5a028fe181 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Aug 28 19:12:15 2013 +0200 |
committer | Jan Kiszka <jan.kiszka@siemens.com> | Tue Sep 17 12:26:05 2013 +0200 |
tree | 0a4a4509172c11df298c76c018009bf4d87e0208 | |
parent | 0a165d09ccd3b1686bd5d29d1a0a58926776b993 [diff] |
slirp: clean up slirp_update_timeout No need to write out the timeout early, keep it local until we are done. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
diff --git a/slirp.c b/slirp.c index 8eb5a35..43f1beb 100644 --- a/slirp.c +++ b/slirp.c
@@ -271,8 +271,8 @@ if (*timeout <= TIMEOUT_FAST) { return; } - *timeout = MIN(1000, *timeout); - t = *timeout; + + t = MIN(1000, *timeout); /* If we have tcp timeout with slirp, then we will fill @timeout with * more precise value.