From: Jean-Marc Pigeon (Delson) Date: Fri, 15 Aug 2025 19:46:28 +0000 (-0400) Subject: Improving report about abort data X-Git-Tag: tag-0.15~8 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=5049fde10bf83e92f096e99fa590ff6ab5799896;p=jmp%2Fmailleur Improving report about abort data --- diff --git a/lib/lvleml.c b/lib/lvleml.c index d433435..855a9ae 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -791,8 +791,9 @@ while (proceed==true) { switch (phase) { case 0 : //are we encrypted and on the right port if (soc_iscrypted(contact->socptr)==false) { - (void) eml_transmit(contact,true,"%d 5.7.0 no authentication on " - "clear chanel",FAILED); + static char *cmt="no authentication on clear chanel"; + (void) eml_transmit(contact,true,"%d 5.7.0 %s",FAILED,cmt); + (void) setterminator(contact,cmt); phase=999; //No need to go further } break;