Opened 17 years ago
Last modified 17 years ago
#1296 closed Bug report
Assumption of coding error in CAsyncSocketEx
Reported by: | pimpoutte | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | pimpoutte, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
In CAsyncSocketExHelperWindow::RemoveLayers(...)
Line 274 :
!pSocket | pSocket == pOrigSocket | pSocket->m_SocketData.hSocket != pMsg->hSocket) |
Should be :
!pSocket | pSocket == pOrigSocket | pSocket->m_SocketData.hSocket == pMsg->hSocket) |
Note:
See TracTickets
for help on using tickets.
No, that line is correct. It filters out all messages belonging either to the same instance (pSocket == pOrigSocket) or all messages with an unmatched handle (pSocket->m_SocketData.hSocket != pMsg->hSocket)