From: Jean-Marc Pigeon (Delson) Date: Sat, 12 Jul 2025 14:56:29 +0000 (-0400) Subject: Ready to check sql from.to unixtime procedure X-Git-Tag: tag-0.14~120 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=cc621cb289cce720f5ac2855eec39fa490d5e83d;p=jmp%2Fmailleur Ready to check sql from.to unixtime procedure --- diff --git a/lib/gessql.c b/lib/gessql.c index 1fb6834..ac893cc 100644 --- a/lib/gessql.c +++ b/lib/gessql.c @@ -330,8 +330,10 @@ while (proceed==true) { locsrv->rmtip=strdup(locval); break; case 2 : //lastscan + locsrv->lastscan=sql_tounixtime(sqlptr,locval); break; case 3 : //last update + locsrv->update=sql_tounixtime(sqlptr,locval); break; case 4 : //Number of links locsrv->links=atoi(locval); diff --git a/lib/unisql.h b/lib/unisql.h index 33c2a61..379bdd7 100644 --- a/lib/unisql.h +++ b/lib/unisql.h @@ -57,7 +57,7 @@ typedef struct { typedef struct { char *rmtip; //Remote IP number time_t lastscan;//last scan time - time_t lupdate; //last update time + time_t update; //last update time int links; //Number of connection from this remote int credit; //Remote credit number char *listing; //Remote listing explaination