]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Improving report about abort data
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Fri, 15 Aug 2025 19:46:28 +0000 (15:46 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Fri, 15 Aug 2025 19:46:28 +0000 (15:46 -0400)
lib/lvleml.c

index d433435869fca4642b9baf866c096e0f4d9e9d2d..855a9ae3a03b9ff504f63da0c53f16b355e24fac 100644 (file)
@@ -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;