aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/network.c')
-rw-r--r--FICS/network.c11
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)