From 6f230a2c8abdc14dc11f8b2b0512f1e876cc2673 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 13 Dec 2023 19:27:35 +0100 Subject: Changed comment layout --- FICS/network.c | 11 +++++++---- 1 file 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) -- cgit v1.2.3