From: Jean-Marc Pigeon (Delson) Date: Mon, 31 Mar 2025 13:27:44 +0000 (-0400) Subject: Ready to implenet policy about tcp_getline status. X-Git-Tag: tag-0.7~44 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=3e21b732601b79da5834db3c4172c732e5dd66dd;p=jmp%2Fmailleur Ready to implenet policy about tcp_getline status. --- 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