From 8bc135137b4543d411a61f9d06f24186a4172761 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 8 Apr 2023 22:03:50 +0200 Subject: Add/correct description for writereplayline(). --- replay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replay.c') diff --git a/replay.c b/replay.c index b90431c..cda8fb3 100644 --- a/replay.c +++ b/replay.c @@ -631,7 +631,7 @@ int doreplaylastspoke(int sourcefd, long linenumber, struct client *clients, str // Expects a string in the format: // :from!bar@baz PRIVMSG to :hello world // With the ":foo!bar@baz "prefix being important. -// Returns 1 on success or 0 on failure. +// Returns the number of bytes written on success, or 0 on failure. int writereplayline(char *str, char *basedir) { // Ensure "str" isn't too long if (strlen(str) >= MAXCHAR) { -- cgit v1.2.3