]> SAFE projects GIT repository - jmp/mailleur/commitdiff
cleaning code
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 4 May 2025 21:39:09 +0000 (17:39 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 4 May 2025 21:39:09 +0000 (17:39 -0400)
lib/modrec.c

index 8afa421951b1acd2c03740e7553abd15e674d421..93602fb58a836ce4b95686632b2ddcb5e0ff387c 100644 (file)
@@ -110,7 +110,6 @@ static void docontact(SOCPTR *socptr,int pos)
 
 {
 #define OPEP    "modrec.c:docontact"
-#define TESTL   8
 
 CONTYP *contact;
 int intstat;
@@ -125,13 +124,13 @@ while (proceed==true) {
   //(void) rou_alert(0,"JMPDBG %s phase='%d'",OPEP,phase);
   switch (phase) {
     case 0      :       //waiting contact
+      (void) rou_checkleak(true);
       if ((contact=eml_getcontact(socptr,pos))==(CONTYP *)0)
         phase=999;      //No contact!
       break;
     case 1      :       //within forked process
       (void) prc_settitle("Processing incoming contact from [%s] on [%s:%s]",
                             contact->peerip,contact->locname,contact->locserv);
-      (void) rou_checkleak(true);
       break;
     case 2      :       //do contact
       intstat=eml_docontact(contact);