diff options
-rw-r--r-- | logging.c | 4 | ||||
-rw-r--r-- | logging.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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]; @@ -89,7 +89,7 @@ // 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); #endif |