]> SAFE projects GIT repository - jmp/mailleur/commitdiff
trying to add revers address to actions display
authorJean-Marc Pigeon <jmp@safe.c>
Thu, 18 Sep 2025 14:14:04 +0000 (10:14 -0400)
committerJean-Marc Pigeon <jmp@safe.c>
Thu, 18 Sep 2025 14:14:04 +0000 (10:14 -0400)
lib/gessql.c

index fa10da3d71a8dcfa900cc3377cf306da47f127f6..20aaee1a045e0bf87a066771bd6c9a561dfc12c0 100644 (file)
@@ -81,16 +81,18 @@ if (act!=(ACTTYP *)0) {
       resp=act->resp;
       num=1;
       while (*resp!=(char *)0) {
-        char *ginfo;
-
-        ginfo=sql_gooddata(sqlptr,*resp);
-        (void) rou_alert(0,"%s JMPDBG sessid=<%s> rcptto=<%s> info=<%s>",
-                            OPEP,gid,grcpt,ginfo);
-        (void) sql_request(sqlptr,ins,field,
-                                      gcode,gid,
-                                      gsfrom,ghfrom,ghsubject,
-                                      grcpt,num,ginfo);
-        ginfo=rou_freestr(ginfo);
+        if ((*resp)[3]==' ') {
+          char *ginfo;
+
+          ginfo=sql_gooddata(sqlptr,*resp);
+          (void) rou_alert(0,"%s JMPDBG sessid=<%s> rcptto=<%s> info=<%s>",
+                              OPEP,gid,grcpt,ginfo);
+          (void) sql_request(sqlptr,ins,field,
+                                        gcode,gid,
+                                        gsfrom,ghfrom,ghsubject,
+                                        grcpt,num,ginfo);
+          ginfo=rou_freestr(ginfo);
+          }
         resp++;
         num++;
         }