From d5aedc3d84eea0d970f90ddc04f9be331e9c20e9 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 24 Oct 2019 00:26:53 -0400 Subject: Make clientFormat public --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 3e3684f..9bc8a4a 100644 --- a/client.c +++ b/client.c @@ -79,7 +79,7 @@ void clientSend(struct Client *client, const char *ptr, size_t len) { } } -static void format(struct Client *client, const char *format, ...) { +void clientFormat(struct Client *client, const char *format, ...) { char buf[513]; va_list ap; va_start(ap, format); @@ -90,7 +90,7 @@ static void format(struct Client *client, const char *format, ...) { } static void passRequired(struct Client *client) { - format( + clientFormat( client, ":invalid 464 * :Password incorrect\r\n" "ERROR :Password incorrect\r\n" -- cgit 1.4.1