Subject: [libssh2] [ libssh2-Bugs-1703467 ] Don't check errno unless an error occurred

[libssh2] [ libssh2-Bugs-1703467 ] Don't check errno unless an error occurred

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 06 Jun 2007 12:49:33 -0700

Bugs item #1703467, was opened at 2007-04-19 11:07
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1703467&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Eberhard Mattes (em1)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't check errno unless an error occurred

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

----------------------------------------------------------------------

Comment By: James Housley (jehousley)
Date: 2007-06-06 12:13

Message:
Logged In: YES
user_id=32239
Originator: NO

Committed in version 1.8

----------------------------------------------------------------------

Comment By: Eberhard Mattes (em1)
Date: 2007-04-19 11:10

Message:
Logged In: YES
user_id=680708
Originator: YES

See patch 1703468

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1703467&group_id=125852

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-06-11