commit | 0d2f7782b61bd8c3c906b03ce30fb4d2573d1394 | [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 | 4aeddac529c5cd72d152926b264ddf84d07bf32f [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.