]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Ready to implenet policy about tcp_getline status.
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 31 Mar 2025 13:27:44 +0000 (09:27 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 31 Mar 2025 13:27:44 +0000 (09:27 -0400)
lib/gestcp.c
lib/subrou.c

index 20f7a7cb86550cddf8a8692b06cfbeba0e7bae61..5acfdcd5ced65a9d939f20c9f91ced3ba8eed37c 100644 (file)
 /*                                                      */
 /*     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)
index 86016a0033f5770d66e115146d833975a8360517..97cfa6970341c79b06b4ed6c03e92d9d93bbcc12 100644 (file)
@@ -21,7 +21,7 @@
 
 //version definition 
 #define VERSION "0.6"
-#define RELEASE "30"
+#define RELEASE "31"
 
 //Public variables
 PUBLIC  int debug=0;            //debug level