Reformat: remove extra spaces and tabs

This commit is contained in:
Ludovic Rousseau 2012-02-17 10:06:57 +01:00
parent 00e02359a3
commit 0c9717a82e
2 changed files with 23 additions and 23 deletions

View File

@ -232,7 +232,7 @@ static int load_parameters(sc_context_t *ctx, scconf_block *block,
sc_ctx_log_to_file(ctx, val);
ctx->paranoid_memory = scconf_get_bool (block, "paranoid-memory",
ctx->paranoid_memory);
ctx->paranoid_memory);
val = scconf_get_str(block, "force_card_driver", NULL);
if (val) {
@ -564,12 +564,12 @@ static void process_config_file(sc_context_t *ctx, struct _sc_ctx_options *opts)
}
blocks = scconf_find_blocks(ctx->conf, NULL, "app", ctx->app_name);
if (blocks[0])
ctx->conf_blocks[count++] = blocks[0];
ctx->conf_blocks[count++] = blocks[0];
free(blocks);
if (strcmp(ctx->app_name, "default") != 0) {
blocks = scconf_find_blocks(ctx->conf, NULL, "app", "default");
if (blocks[0])
ctx->conf_blocks[count] = blocks[0];
ctx->conf_blocks[count] = blocks[0];
free(blocks);
}
/* Above we add 2 blocks at most, but conf_blocks has 3 elements,

View File

@ -687,7 +687,7 @@ int _sc_parse_atr(sc_reader_t *reader)
atr_len--;
} else
tx[i] = -1;
}
}
}
if (atr_len <= 0)
return 0;