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

2007-06-06 Thread Eberhard Mattes
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 hav

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

2007-06-06 Thread James Housley
On Jun 6, 2007, at 3:54 AM, Eberhard Mattes wrote: > 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 1

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

2007-06-06 Thread Daniel Stenberg
On Wed, 6 Jun 2007, James Housley wrote: >> See bug 1703467 and my patch 1703468. > I will look into it this since I am in the middle of re-writing the code to > fully support non-blocking. I've closed those tracker entries now. Please note that it is meant to get newly submitted bug and patch