diff options
| author | 2008-08-23 23:22:53 +0000 | |
|---|---|---|
| committer | 2008-08-23 23:22:53 +0000 | |
| commit | 12f236bfbaf70a709334233175bdc374950af9a3 (patch) | |
| tree | 684a7abe60872a103e3cac1436980d4a5e8dbf6b /src/socketengine_poll.cpp | |
| parent | Backport r10202 (diff) | |
Fix problem noted by psychon: man getsockopt() states that 'optlen is a value-result parameter, initially containing the size of the buffer pointed to by optval'. This has just been working by luck that the uninitialised memory was always greater than or equal to sizeof(int)..
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10234 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_poll.cpp')
0 files changed, 0 insertions, 0 deletions
