diff options
author | Luke Bratch <luke@bratch.co.uk> | 2023-04-08 22:03:50 +0200 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2023-04-08 22:03:50 +0200 |
commit | 8bc135137b4543d411a61f9d06f24186a4172761 (patch) | |
tree | 4c07fcacaf6471d8349596384d81e31e1debc853 /replay.c | |
parent | ca8c31cdb180bd5758a4a4f9d868eca31197081c (diff) |
Add/correct description for writereplayline().
Diffstat (limited to 'replay.c')
-rw-r--r-- | replay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |