From d3255259eaa208266e465eb6e58d7eb77042cd84 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 21 Sep 2012 08:52:07 +1000 Subject: [PATCH] ... and remove packet_send() --- ssh/mux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssh/mux.c b/ssh/mux.c index f2ea186..8e4020a 100644 --- a/ssh/mux.c +++ b/ssh/mux.c @@ -1286,7 +1286,8 @@ mux_session_confirm(int id, int success, void *arg) if (cctx->want_agent_fwd && options.forward_agent) { debug("Requesting authentication agent forwarding."); channel_request_start(id, "auth-agent-req@openssh.com", 0); - packet_send(); + if ((r = sshpkt_send(ssh)) != 0) + fatal("%s: packet error: %s", __func__, ssh_err(r)); } client_session2_setup(ssh, id, cctx->want_tty, cctx->want_subsys,