diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-04 13:05:29 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-04 13:05:29 +0100 |
commit | cf29fc075aaa07eff84d1b9b42de71e89701d222 (patch) | |
tree | b68b7065f1156c40d254849ed9ee8ed340cf5966 /src/libstrongswan/utils/utils.c | |
parent | 1f6ee9ec4456aa48872abce212b928f2a5804b44 (diff) | |
download | strongswan-cf29fc075aaa07eff84d1b9b42de71e89701d222.tar.bz2 strongswan-cf29fc075aaa07eff84d1b9b42de71e89701d222.tar.xz |
time is a time_t pointer
Diffstat (limited to 'src/libstrongswan/utils/utils.c')
-rw-r--r-- | src/libstrongswan/utils/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/utils.c b/src/libstrongswan/utils/utils.c index bf0224c5f..fc2fe4a3e 100644 --- a/src/libstrongswan/utils/utils.c +++ b/src/libstrongswan/utils/utils.c @@ -460,7 +460,7 @@ int time_printf_hook(printf_hook_data_t *data, printf_hook_spec_t *spec, bool utc = *((bool*)(args[1]));; struct tm t; - if (time == UNDEFINED_TIME) + if (*time == UNDEFINED_TIME) { return print_in_hook(data, "--- -- --:--:--%s----", utc ? " UTC " : " "); |