commit | edee7944a5079591b49e6b80047ddecaba5891c2 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Mar 24 11:20:27 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Mar 24 11:20:27 2010 +0100 |
tree | f38f24766a5c40845a582c8d1dbab8edaa5cd002 | |
parent | f99f0930fd02a5ef164c54fe8926a7e0b11acbdb [diff] |
ipa: Fix the previous patch and initialize the fds to -1 The code in 354ef81d8062510765b7280023b3f4ef98d0613a checked for fd >= 0 but on startup the struct is memset to 0 so this test is true. Initialize the fds to -1 to make the code work and be able to handle all ranges of the fd.