]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
time is a time_t pointer
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 4 Feb 2013 12:05:29 +0000 (13:05 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 4 Feb 2013 12:05:29 +0000 (13:05 +0100)
src/libstrongswan/utils/utils.c

index bf0224c5fbaccc3156c345b5dc62f1b60bf68783..fc2fe4a3ed630f6f62db2bf670e88bc4a8e2e2af 100644 (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 " : " ");