diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2013-11-25 18:42:47 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2013-11-25 18:42:47 +0100 |
commit | 283c7dfada53a6dee6a8a17ecab492ffafd44b66 (patch) | |
tree | 5edfb9df61c3b625967f3c65317f27c5051a8a4d /conf | |
parent | 736e143fa50607fcd88132291e96089b899af979 (diff) | |
parent | 0bb4e37db317a1290bad24fe430cac6569a9bd8c (diff) |
Merge branch 'master' into add-path
Diffstat (limited to 'conf')
-rw-r--r-- | conf/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/conf.c b/conf/conf.c index 14225d3b..fc674ef3 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -96,7 +96,8 @@ config_alloc(byte *name) cfg_mem = c->mem = l; c->file_name = cfg_strdup(name); c->load_time = now; - c->tf_base.fmt1 = c->tf_log.fmt1 = "%d-%m-%Y %T"; + c->tf_route = c->tf_proto = (struct timeformat){"%T", "%F", 20*3600}; + c->tf_base = c->tf_log = (struct timeformat){"%F %T", NULL, 0}; return c; } |