Applied, thanks! Flavio Cruz, le dim. 21 janv. 2024 16:07:56 -0500, a ecrit: > --- > ftpfs/ftpfs.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c > index 794439b..9310a56 100644 > --- a/ftpfs/ftpfs.c > +++ b/ftpfs/ftpfs.c > @@ -51,8 +51,13 @@ struct ftpfs *ftpfs; > /* Parameters describing the server we're connecting to. */ > struct ftp_conn_params *ftpfs_ftp_params = 0; > > +static int > +ftp_hooks_interrupt_check (struct ftp_conn *) { > + return ports_self_interrupted (); > +} > + > /* customization hooks. */ > -struct ftp_conn_hooks ftpfs_ftp_hooks = { interrupt_check: > ports_self_interrupted }; > +struct ftp_conn_hooks ftpfs_ftp_hooks = { interrupt_check: > ftp_hooks_interrupt_check }; > > /* The (user-specified) name of the SERVER:FILESYSTEM we're connected too. > */ > char *ftpfs_remote_fs; > -- > 2.39.2 > >
-- Samuel <i> ben oui ce serait idiot, mais osb -+- m'en fous de faire un truc débile ! -+-