forked from jengelh/strongswan
Copy from network:vpn/strongswan based on submit request 33800 from user mtomaschewski OBS-URL: https://build.opensuse.org/request/show/33800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strongswan?expand=0&rev=19
12 lines
267 B
Diff
12 lines
267 B
Diff
--- src/pluto/timer.c
|
|
+++ src/pluto/timer.c 2010/03/02 17:03:41
|
|
@@ -48,7 +48,7 @@ time_t now(void)
|
|
{
|
|
static time_t delta = 0
|
|
, last_time = 0;
|
|
- time_t n = time((time_t)NULL);
|
|
+ time_t n = time((time_t *)NULL);
|
|
|
|
passert(n != (time_t)-1);
|
|
if (last_time > n)
|