From: Jean-Marc Pigeon Date: Tue, 25 Nov 2025 12:58:23 +0000 (-0500) Subject: Working on status return X-Git-Tag: tag-0.19~40 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=35249f5d87a1c59ba46c1ff1b6bfa2e2eba8238c;p=jmp%2Fmailleur Working on status return --- diff --git a/lib/unitls.c b/lib/unitls.c index 6582624..22eac5c 100644 --- a/lib/unitls.c +++ b/lib/unitls.c @@ -1013,9 +1013,13 @@ while (proceed==true) { case -1 : //Polling error (void) rou_alert(0,"%s Polling error (error=<%s>)",OPEP,strerror(errno)); break; - case 0 : //polling time out - //nothing to do - (void) rou_alert(0,"%s Polling timeout (error=<%s>)",OPEP,strerror(errno)); + case 0 : //polling timeout + switch (errno) { + default : //lets say nothind to do + (void) rou_alert(0,"%s Polling timeout (error='%d'-<%s>)", + OPEP,errno,strerror(errno)); + break; + } break; case 1 : //char is available. //nothing to do