char buf[100];
static void ssh1_smsg_exit_status(Ssh ssh, struct Packet *pktin){    char buf[100];    ssh->exitcode = ssh_pkt_getuint32(pktin);    sprintf(buf, "Server sent command exit status %d",	    ssh->exitcode);    logevent(buf);    send_packet(ssh, SSH1_CMSG_EXIT_CONFIRMATION, PKT_END);    /*     * In case `helpful' firewalls or proxies tack     * extra human-readable text on the end of the     * session which we might mistake for another     * encrypted packet, we close the session once     * we've sent EXIT_CONFIRMATION.     */    ssh->close_expected = TRUE;    ssh_closing((Plug)ssh, NULL, 0, 0);}