int packet_send(ssh_session session) { #ifdef WITH_SSH1 if (session->version == 1) { return packet_send1(session); } #endif return packet_send2(session); }
int packet_send(SSH_SESSION *session) { #ifdef HAVE_SSH1 if (session->version == 1) { return packet_send1(session); } #endif return packet_send2(session); }