mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
This commit is contained in:
@@ -210,10 +210,7 @@ static int agent_talk(struct ssh_session_struct *session,
|
|||||||
|
|
||||||
/* send length and then the request packet */
|
/* send length and then the request packet */
|
||||||
if (atomicio(session->agent->sock, payload, 4, 0) == 4) {
|
if (atomicio(session->agent->sock, payload, 4, 0) == 4) {
|
||||||
buffer_get_data(request, payload, len);
|
if (atomicio(session->agent->sock, buffer_get_rest(request), len, 0)
|
||||||
ssh_log(session, SSH_LOG_PACKET,
|
|
||||||
"agent_talk - sending request, payload[0] = %u", payload[0]);
|
|
||||||
if (atomicio(session->agent->sock, payload, len, 0)
|
|
||||||
!= len) {
|
!= len) {
|
||||||
ssh_log(session, SSH_LOG_PACKET, "atomicio sending request failed: %s",
|
ssh_log(session, SSH_LOG_PACKET, "atomicio sending request failed: %s",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
|||||||
Reference in New Issue
Block a user