time is a time_t pointer
This commit is contained in:
1 parent
1f6ee9ec44
commit
cf29fc075a
1 file changed
+1
-1
@@ -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 " : " ");
|
||||
|
||||
Reference in new issue
Block a user