From 3e21b732601b79da5834db3c4172c732e5dd66dd Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Mon, 31 Mar 2025 09:27:44 -0400 Subject: [PATCH] Ready to implenet policy about tcp_getline status. --- lib/gestcp.c | 4 ++++ lib/subrou.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gestcp.c b/lib/gestcp.c index 20f7a7c..5acfdcd 100644 --- a/lib/gestcp.c +++ b/lib/gestcp.c @@ -27,6 +27,10 @@ /* */ /* Procedure to read char from remote peer, wait */ /* for a CRLF AS EOL. */ +/* - Return "got", which could be: */ +/* - a positive number of character read. */ +/* - 0, then reading reach time out */ +/* - -1, the link is disconnected (by remote) */ /* */ /********************************************************/ PUBLIC int tcp_getline(SOCPTR *socptr,u_int secwait,char **lineptr) diff --git a/lib/subrou.c b/lib/subrou.c index 86016a0..97cfa69 100644 --- a/lib/subrou.c +++ b/lib/subrou.c @@ -21,7 +21,7 @@ //version definition #define VERSION "0.6" -#define RELEASE "30" +#define RELEASE "31" //Public variables PUBLIC int debug=0; //debug level -- 2.47.3