FreeRDP/FreeRDP — pull request #159 by nfedera (2011-10-18 22:02:45+00:00)
Title: core: handle transport->recv_callback correctly

the boolean return value of transport->recv_callback was directly assigned to "int status" in transport_check_fds.
now status is set to -1 if transport_check_fds returns False.

this was also the reason for the long delays on logoff followed by these messages:
"SSL_read: I/O error" (with --sec nla|tls)
"recv: Connection reset by peer" + "send: Broken pipe" (with --sec rdp)