From d1b826c838a290311090f9ce65db92b98d8eaebc Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Sun, 16 Nov 2025 15:10:09 -0500 Subject: [PATCH] Still debugging rou_dbglive --- lib/subrou.c | 5 ++--- sysconfig/mailleur | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/subrou.c b/lib/subrou.c index 449d894..69c0a7a 100644 --- a/lib/subrou.c +++ b/lib/subrou.c @@ -640,15 +640,14 @@ PUBLIC void rou_dbglive(const int dlevel,const char *prcref,const char *fmt,...) { #define DBG "DBGLIVE" -(void) rou_alert(0,"BIGRE Bigre dbglive=<%s>",dbglive); if ((debug>=dlevel)&&(dbglive!=(char *)0)) { - (void) rou_alert(0,"Bigre dbglive=<%s>",dbglive); if (strstr(dbglive,prcref)!=(char *)0) { char *nstr; va_list args; - (void) rou_asprintf(&nstr,"%s: %s",prcref,fmt); va_start(args,fmt); + (void) rou_asprintf(&nstr,"%s: %s",prcref,fmt); + (void) rou_alert(0,"Bigre dbglive=<%s> nstr=<%s>",dbglive,nstr); (void) rou_valert(dlevel,nstr,args); va_end(args); (void) free(nstr); diff --git a/sysconfig/mailleur b/sysconfig/mailleur index 9c599db..fc85325 100644 --- a/sysconfig/mailleur +++ b/sysconfig/mailleur @@ -1,7 +1,8 @@ #------------------------------------------- #options available to debug mailleur #OPTIONS="-d9" -#this is to debug a specific function within a specific module -#OPTIONS="-d9 -Dlvleml.c:checkto,modrec.c:docontact +#this is to debug a specific function within a specific procedure name +#Avaliable procedure name are defined within mailleur sources (#define OPEP) +#OPTIONS="-d9 -Dlvleml.c:checkto,modrec.c:docontact" #------------------------------------------- -- 2.47.3