Skip to content
Snippets Groups Projects
Commit ff80f918 authored by Sergey Joseph Ivanov's avatar Sergey Joseph Ivanov
Browse files

Fix file handle comparison

'==' can not compare file handles. We can use fileno() function to
compare numerically file numbers. Code without this returns
"connection successful" when it timeouts and $fd is "undefined".
parent 46240696
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment