Fix IKE_SA timeout debug output on 64bit platforms

This commit is contained in:
Martin Willi 2012-02-21 14:05:11 +01:00
parent 0808d60ebf
commit e9fcf1c6cc
1 changed files with 4 additions and 3 deletions

View File

@ -1549,10 +1549,11 @@ METHOD(ike_sa_t, reauth, status_t,
#endif /* ME */
)
{
time_t now = time_monotonic(NULL);
time_t del, now;
DBG1(DBG_IKE, "IKE_SA will timeout in %V",
&now, &this->stats[STAT_DELETE]);
del = this->stats[STAT_DELETE];
now = time_monotonic(NULL);
DBG1(DBG_IKE, "IKE_SA will timeout in %V", &now, &del);
return FAILED;
}
else