From cc621cb289cce720f5ac2855eec39fa490d5e83d Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Sat, 12 Jul 2025 10:56:29 -0400 Subject: [PATCH] Ready to check sql from.to unixtime procedure --- lib/gessql.c | 2 ++ lib/unisql.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3