time is a time_t pointer

This commit is contained in:
Andreas Steffen 2013-02-04 13:05:29 +01:00
parent 1f6ee9ec44
commit cf29fc075a

View file

@ -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 " : " ");