diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-24 11:20:27 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-24 11:23:39 +0100 |
commit | ad9856ec15645f06859d238ac86eaaa237b51bdf (patch) | |
tree | 0b9e6b7995c33e4c7b3db4ab4b21350d7311fd3d /openbsc/include | |
parent | 9d53a8ad2a48a5b339b971f2dd57287d2211ca81 (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.
Diffstat (limited to 'openbsc/include')
0 files changed, 0 insertions, 0 deletions