commit | f54000325b49c36c6bfb4632137a9a20c8fa2e3c | [log] [tgz] |
---|---|---|
author | Peter Astrand <astrand@lysator.liu.se> | Fri Feb 02 19:06:36 2007 +0000 |
committer | Peter Astrand <astrand@lysator.liu.se> | Fri Feb 02 19:06:36 2007 +0000 |
tree | fd83f39624e9771126e2b01c3563a4861b15b1f1 | |
parent | db67aef672ba51e7d01b1f095d5342fc2e67ca1a [diff] |
We had several if statements checking the value of a fd. This is unsafe, since valid fds might be zero. We should check for not None instead.