Fix IKE_SA timeout debug output on 64bit platforms

This commit is contained in:
Martin Willi
2012-03-05 18:06:13 +01:00
parent 0808d60ebf
commit e9fcf1c6cc
+4 -3
View File
@@ -1549,10 +1549,11 @@ METHOD(ike_sa_t, reauth, status_t,
#endif /* ME */ #endif /* ME */
) )
{ {
time_t now = time_monotonic(NULL); time_t del, now;
DBG1(DBG_IKE, "IKE_SA will timeout in %V", del = this->stats[STAT_DELETE];
&now, &this->stats[STAT_DELETE]); now = time_monotonic(NULL);
DBG1(DBG_IKE, "IKE_SA will timeout in %V", &now, &del);
return FAILED; return FAILED;
} }
else else