api.c typo
diff --git a/api.c b/api.c
index 8dd7d90..e17ded2 100644
--- a/api.c
+++ b/api.c
@@ -2733,7 +2733,7 @@ static void failoveronly(__maybe_unused SOCKETTYPE c, char *param, bool isjson,
bool tf = (*param == 't');
- opt_fail_only = tf;;
+ opt_fail_only = tf;
strcpy(io_buffer, message(MSG_FOO, tf, NULL, isjson));
}