connection: rework timeout logic
authorDaniel Mack <zonque@gmail.com>
Thu, 16 Jan 2014 15:58:29 +0000 (16:58 +0100)
committerDaniel Mack <zonque@gmail.com>
Thu, 16 Jan 2014 15:58:32 +0000 (16:58 +0100)
commit86af4449572b5004fc2aeda12b8795fa32ca3d5f
treeeb1f683d9ef60fdef9334a315139e672875e1307
parent5b25be74f39325b6b1e6d0473cc3033b112bd8e9
connection: rework timeout logic

No functional change actually, just a code reordering that makes the
function more readable and saves us one level of indentation.
connection.c