Also, had to change vdeloldusers.c.
Around lines: 92-94
snprintf(SqlBuf, MAX_BUFF,
"select user,domain from lastauth where timestamp <
'FROM_UNIXTIME(%lu)'",
nowt);
-Richard A. Secor
[EMAIL PROTECTED]
Sequential Logic
----- Original Message -----
From: "Richard A. Secor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 14:42
Subject: VPOPMAIL - LASTAUTH - DATE/TIME STAMP NOT RIGHT
> I was sick of having the wrong Date/Time stamps in my lastauth table so
> here's the fix:
>
> File: vmysql.c
> Around lines: 1046-1048
> Note: I just added:
> FROM_UNIXTIME( )
>
> snprintf( SqlBufUpdate, SQL_BUF_SIZE,
> "replace into lastauth set user='%s', domain='%s', \
> remote_ip='%s', timestamp=FROM_UNIXTIME(%lu)", user, domain, remoteip,
> time(NUL
> L));
>
> Richard A. Secor
> [EMAIL PROTECTED]
> Sequential Logic
>
>