From 69b1cec737fff5d4c547d8879d4c0899124b7e69 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Wed, 17 Jul 2024 22:51:40 +0100 Subject: Correct logline() return value comment in logging.c and logging.h. --- logging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logging.c') diff --git a/logging.c b/logging.c index 7673fc2..f872ed5 100644 --- a/logging.c +++ b/logging.c @@ -58,10 +58,10 @@ // If LOG_KICK then it expects a string in the format: // :kicker!bar@baz KICK #channel kickee :bla bla bla // -// With the ":foo!bar@baz "prefix being important for all +// With the ":foo!bar@baz" prefix being important for all // types. // -// Returns 1 on success or 0 on failure. +// Returns the number of bytes written on success, or 0 on failure. int logline(char *str, struct ircdstate *ircdstate, char *basedir, int type) { // Filename to write to, gets built as we go char filename[MAXCHAR]; -- cgit v1.2.3