Reformat: remove extra spaces and tabs
This commit is contained in:
parent
00e02359a3
commit
0c9717a82e
|
@ -232,7 +232,7 @@ static int load_parameters(sc_context_t *ctx, scconf_block *block,
|
||||||
sc_ctx_log_to_file(ctx, val);
|
sc_ctx_log_to_file(ctx, val);
|
||||||
|
|
||||||
ctx->paranoid_memory = scconf_get_bool (block, "paranoid-memory",
|
ctx->paranoid_memory = scconf_get_bool (block, "paranoid-memory",
|
||||||
ctx->paranoid_memory);
|
ctx->paranoid_memory);
|
||||||
|
|
||||||
val = scconf_get_str(block, "force_card_driver", NULL);
|
val = scconf_get_str(block, "force_card_driver", NULL);
|
||||||
if (val) {
|
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);
|
blocks = scconf_find_blocks(ctx->conf, NULL, "app", ctx->app_name);
|
||||||
if (blocks[0])
|
if (blocks[0])
|
||||||
ctx->conf_blocks[count++] = blocks[0];
|
ctx->conf_blocks[count++] = blocks[0];
|
||||||
free(blocks);
|
free(blocks);
|
||||||
if (strcmp(ctx->app_name, "default") != 0) {
|
if (strcmp(ctx->app_name, "default") != 0) {
|
||||||
blocks = scconf_find_blocks(ctx->conf, NULL, "app", "default");
|
blocks = scconf_find_blocks(ctx->conf, NULL, "app", "default");
|
||||||
if (blocks[0])
|
if (blocks[0])
|
||||||
ctx->conf_blocks[count] = blocks[0];
|
ctx->conf_blocks[count] = blocks[0];
|
||||||
free(blocks);
|
free(blocks);
|
||||||
}
|
}
|
||||||
/* Above we add 2 blocks at most, but conf_blocks has 3 elements,
|
/* Above we add 2 blocks at most, but conf_blocks has 3 elements,
|
||||||
|
|
|
@ -687,7 +687,7 @@ int _sc_parse_atr(sc_reader_t *reader)
|
||||||
atr_len--;
|
atr_len--;
|
||||||
} else
|
} else
|
||||||
tx[i] = -1;
|
tx[i] = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (atr_len <= 0)
|
if (atr_len <= 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue