Subject: Re: [libssh2] bug in transport.c (and a one-line fix)

Re: [libssh2] bug in transport.c (and a one-line fix)

From: Eberhard Mattes <em-libssh2_at_online.ms>
Date: Wed, 06 Jun 2007 09:54:47 +0200

Troy Gutjahr wrote:

> In the latest version (1.7) of transport.c, there is a bug at line 315.
> It should be changed from
>
> if(errno == EAGAIN) {
>
> to
>
> if(nread == -1 && errno == EAGAIN) {

See bug 1703467 and my patch 1703468.

> Would someone care to add this change in CVS? I don't have access.

AOL. Daniel?

Eberhard

-------------------------------------------------------------------------
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-06