From: Jean-Marc Pigeon (Delson) Date: Mon, 19 May 2025 23:43:44 +0000 (-0400) Subject: Adjusting endoftest "." within email X-Git-Tag: tag-0.8~92 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=6f5a9f1d18e8296fabf6219e3126e8c0b0bf0e3d;p=jmp%2Fmailleur Adjusting endoftest "." within email --- diff --git a/Makefile b/Makefile index 7611105..764a7bd 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ sender : clean debug newtest -d 2 \ -c ./conf/mailleur.conf.dvl \ -r $(TESTDIR) \ - example.com-1747663900-0002.todo + example.com-1747698127-0000.todo dbgsend : clean debug @ gdb \ diff --git a/lib/lvleml.c b/lib/lvleml.c index ed565a2..1e3852a 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -316,9 +316,10 @@ while (proceed==true) { phase=999; //Trouble trouble break; case 3 : //just display line - (void) fprintf(queue,"%s\n",line); - if ((empty==false)||(strcmp(line,".")!=0)) + if ((empty==false)||(strcmp(line,".")!=0)) { + (void) fprintf(queue,"%s\n",line); phase=1; //Wait for next line + } empty=false; if (strlen(line)==0) empty=true;