diff options
author | June McEnroe <june@causal.agency> | 2019-10-24 00:26:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-24 00:26:53 -0400 |
commit | d5aedc3d84eea0d970f90ddc04f9be331e9c20e9 (patch) | |
tree | 473c357825d0e8515baed6709d2e3f7672d69df0 /client.c | |
parent | Make serverFormat public (diff) | |
download | pounce-d5aedc3d84eea0d970f90ddc04f9be331e9c20e9.tar.gz pounce-d5aedc3d84eea0d970f90ddc04f9be331e9c20e9.zip |
Make clientFormat public
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" |