]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/log.c
Configure: Implemented running of test programs
[libucw.git] / ucw / log.c
index 1195a0a548a31e2f473a5256b06be2a2d7f41527..7a870261d8ac2379f61ecf69aa0cfd296d15eea7 100644 (file)
--- a/ucw/log.c
+++ b/ucw/log.c
@@ -45,8 +45,10 @@ struct log_stream log_stream_default = {
   .types = ~0U,
   .msgfmt = LSFMT_DEFAULT,
   // an empty clist
-  .substreams.head.next = (cnode *) &log_stream_default.substreams.head,
-  .substreams.head.prev = (cnode *) &log_stream_default.substreams.head,
+  .substreams.head = {
+    .next = (cnode *) &log_stream_default.substreams.head,
+    .prev = (cnode *) &log_stream_default.substreams.head,
+  },
 };
 
 /*** Registry of streams and their identifiers ***/