(trunk libT) minor code cleanup to inout.c's readOrWriteBytes().
authorJordan Lee <jordan@transmissionbt.com>
Wed, 2 Feb 2011 06:06:09 +0000 (06:06 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 2 Feb 2011 06:06:09 +0000 (06:06 +0000)
commit4736d863bf548403b49fda31fee0a5abcdbb2ab3
tree35b63782266b81ec171d6c8cc075376f1f82304c
parentfc1c5fe55347eb9771fbd200ddcd17a4f6eb918a
(trunk libT) minor code cleanup to inout.c's readOrWriteBytes().

Use ijuxda's suggestion of making the fstat(fd) call dependent on (fd>=0) rather than (!err).
libtransmission/inout.c