From: Andreas Steffen Date: Mon, 4 Feb 2013 12:05:29 +0000 (+0100) Subject: time is a time_t pointer X-Git-Tag: 5.0.3dr1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf29fc075aaa07eff84d1b9b42de71e89701d222;p=thirdparty%2Fstrongswan.git time is a time_t pointer --- diff --git a/src/libstrongswan/utils/utils.c b/src/libstrongswan/utils/utils.c index bf0224c5fb..fc2fe4a3ed 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 " : " ");