commit | 9896c291e46787352151daa0fabf8be81d84cd09 | [log] [tgz] |
---|---|---|
author | James Housley <jim@thehousleys.net> | Wed Jun 06 10:13:30 2007 +0000 |
committer | James Housley <jim@thehousleys.net> | Wed Jun 06 10:13:30 2007 +0000 |
tree | a2eb8609ec59054405fb641dd2785db67c6dcd96 | |
parent | 412b25d9711849e13b4392b88ff935826fda7fb3 [diff] |
libssh2_packet_read() was checking the "errno" even when recv() didn't return an error. "errno" should have been zero by the recv() call but doesn't seem to be on all systems. Only check when recv() says there is an error. Bug: 1703467 Patch: 1703468