diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-13 19:27:35 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-13 19:27:35 +0100 |
commit | 6f230a2c8abdc14dc11f8b2b0512f1e876cc2673 (patch) | |
tree | 5b488dbfa6f59bf5f20b9851c7a269fc19d8acbf /FICS/network.c | |
parent | ea52094f5484111baad6bb2ad106015fc0edc4fe (diff) |
Changed comment layout
Diffstat (limited to 'FICS/network.c')
-rw-r--r-- | FICS/network.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/FICS/network.c b/FICS/network.c index 3f225b6..8a81f0c 100644 --- a/FICS/network.c +++ b/FICS/network.c @@ -262,10 +262,13 @@ PUBLIC int net_send_string(int fd, char *str, int format) return 0; } -/* if we get a complete line (something terminated by \n), copy it to com - and return 1. - if we don't get a complete line, but there is no error, return 0. - if some error, return -1. +/* + * A) if we get a complete line (something terminated by '\n'), copy it + * to com and return 1. + * + * B) if we don't get a complete line, but there is no error, return 0. + * + * C) if some error, return -1. */ PUBLIC int readline2(char *com, int who) |