Ticket #35 (closed defect)

Opened 10 years ago

Last modified 10 years ago

Don't check errno unless an error occurred

Reported by: em1 Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: em1, jehousley, bagder
Blocked By: Blocks:


libssh2_packet_read() checks errno even if recv() returns 0; note that errno still describes the previous failure in that case.

Change History

comment:1 Changed 10 years ago by em1

See patch 1703468

comment:2 Changed 10 years ago by jehousley

Committed in version 1.8

Note: See TracTickets for help on using tickets.