Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这里写错了 #2

Open
xyzrrr opened this issue Jun 1, 2018 · 2 comments
Open

这里写错了 #2

xyzrrr opened this issue Jun 1, 2018 · 2 comments

Comments

@xyzrrr
Copy link

xyzrrr commented Jun 1, 2018

https://github.com/987432340/LCX/blob/6163c23c7d526ad88fb8f4a37d3574d95b74d869/Lcx.cpp#L257-L260
测s1写s2了
应该是 if (FD_ISSET(s2,&writefd)&&flag&&(readsize>0))
写错了的情况下,
这软件居然还能凑合着运行一会儿,囧rz

@plh97
Copy link

plh97 commented Aug 13, 2018

是这样呢

@UndefinedIdentifier
Copy link
Owner

UndefinedIdentifier commented Aug 21, 2018

感谢你能读这代码,并找到问题。
前面有同学反馈我看到了,可是代码年代太久了,如今工作太忙自己又懒就没有做修正问题。
给你点赞

lisf0 added a commit to lisf0/LCX that referenced this issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants