fxp_close_recv(pktin);
fxp_close_recv(pktin, rreq);
int scp_send_finish(void){    if (using_sftp) {	struct fxp_attrs attrs;	struct sftp_packet *pktin;	struct sftp_request *req, *rreq;	int ret;	if (!scp_sftp_filehandle) {	    return 1;	}	if (scp_has_times) {	    attrs.flags = SSH_FILEXFER_ATTR_ACMODTIME;	    attrs.atime = scp_sftp_atime;	    attrs.mtime = scp_sftp_mtime;	    sftp_register(req = fxp_fsetstat_send(scp_sftp_filehandle, attrs));	    rreq = sftp_find_request(pktin = sftp_recv());	    assert(rreq == req);	    ret = fxp_fsetstat_recv(pktin);	    if (!ret) {		tell_user(stderr, "unable to set file times: %s\n", fxp_error());		errs++;	    }	}	sftp_register(req = fxp_close_send(scp_sftp_filehandle));	rreq = sftp_find_request(pktin = sftp_recv());	assert(rreq == req);	fxp_close_recv(pktin);	scp_has_times = 0;	return 0;    } else {	back->send(backhandle, "", 1);	return response();    }}