]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Debugging procedure rou_dbglive!
authorJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 19:47:22 +0000 (14:47 -0500)
committerJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 19:47:22 +0000 (14:47 -0500)
lib/modrec.c
lib/subrou.c

index f5cc511b7c2429ea9d3f8547fde800874061b7de..a997122fb9c5d2e27210d1c7b1f182e221979854 100644 (file)
@@ -175,7 +175,7 @@ intstat=0;
 phase=0;
 proceed=true;
 while (proceed==true) {
-  (void) rou_dbglive(0,OPEP,"%s phase='%d'",phase);
+  (void) rou_dbglive(8,OPEP,"%s phase='%d'",phase);
   switch (phase) {
     case 0      :       //waiting contact
       if ((contact=eml_getcontact(socptr,pos))==(CONTYP *)0)
index b6927657a0926adaafd01074606c688a3a6af3b7..f94972238a48493724048df9ea36d157026bb35d 100644 (file)
@@ -642,6 +642,7 @@ PUBLIC void rou_dbglive(const int dlevel,const char *prcref,const char *fmt,...)
 char *ptr;
 
 if ((debug>=dlevel)&&((ptr=getenv(DBG))!=(char *)0)) {
+  (void) rou_alert(0,"Bigre ptr=<%s>",ptr);
   if (strstr(ptr,prcref)!=(char *)0) {
     char *nstr;
     va_list args;