Indentation fixes
authorSteven Luo <steven+maemo@steven676.net>
Wed, 26 May 2010 14:36:30 +0000 (07:36 -0700)
committerSteven Luo <steven+maemo@steven676.net>
Wed, 26 May 2010 14:36:30 +0000 (07:36 -0700)
config.c

index 727287f..0fbddf0 100644 (file)
--- a/config.c
+++ b/config.c
@@ -108,12 +108,12 @@ static int swb_config_load_option(struct swb_config *cfg,
                if (!(cfg->flags & opt.set_mask)) {
                        switch (opt.type) {
                          case SWB_CONFIG_OPT_STRING:
                if (!(cfg->flags & opt.set_mask)) {
                        switch (opt.type) {
                          case SWB_CONFIG_OPT_STRING:
-                                 *(char **)cfg->entries[i] = value;
-                                 break;
+                               *(char **)cfg->entries[i] = value;
+                               break;
                          case SWB_CONFIG_OPT_INT:
                          case SWB_CONFIG_OPT_INT:
-                                 *(int *)cfg->entries[i] = atoi(value);
-                                 free(value);
-                                 break;
+                               *(int *)cfg->entries[i] = atoi(value);
+                               free(value);
+                               break;
                        }
                        cfg->flags |= opt.set_mask;
                }
                        }
                        cfg->flags |= opt.set_mask;
                }