From 40e648db46bae513652079f5fe0c2cc1ecb258e9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 14 Nov 2020 21:33:19 +0000 Subject: [PATCH] Fix type error in noshare.c. Its boolean parameters were typed 'int', a hangover from before the int-to-bool migration last year. It's not used in the current state of the code base, so nobody noticed until now. --- noshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noshare.c b/noshare.c index bc6d0efc..c45634c5 100644 --- a/noshare.c +++ b/noshare.c @@ -15,7 +15,7 @@ int platform_ssh_share(const char *name, Conf *conf, Plug *downplug, Plug *upplug, Socket **sock, char **logtext, char **ds_err, char **us_err, - int can_upstream, int can_downstream) + bool can_upstream, bool can_downstream) { return SHARE_NONE; }