home · contact · privacy
Server: Minor code-stylistic changes in configfile library.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 2 Apr 2014 20:17:07 +0000 (22:17 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 2 Apr 2014 20:17:07 +0000 (22:17 +0200)
src/server/configfile.c

index 213b31368a80c0d60a444d87ffe220f5a83e44a5..7428500b14ab3021ad62c1cedd0c79e65a421ca6 100644 (file)
@@ -216,9 +216,9 @@ static void tokens_into_entries(struct Context * context)
                  context->line, context->err_pre, err_fin);
         err_line((object_flags & READY_OBJ) ^ READY_OBJ,
                  context->line, context->err_pre, err_fin);
-        object_flags = action_flags = READY_OBJ;
         write_if_entry(&moa, (struct EntryHead ***) &moa_p_p);
         write_if_entry(&mod, (struct EntryHead ***) &mod_p_p);
+        object_flags = action_flags = READY_OBJ;
     }
     if (!context->token0)
     {
@@ -410,7 +410,8 @@ static uint8_t try_func_name(struct MapObjAct * moa,
 
 
 
-extern void read_config_file() {
+extern void read_config_file()
+{
     char * f_name = "read_new_config_file()";
     char * path = world.path_config;
     struct Context context;