From fba438e4a194e3d3c61ba7ebbbf5a34c42e5cb66 Mon Sep 17 00:00:00 2001 From: bg Date: Tue, 18 Sep 2012 17:50:15 +0200 Subject: [PATCH] some white space editing --- hfal/hfal-hmac.c | 6 +++--- test_src/cli.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hfal/hfal-hmac.c b/hfal/hfal-hmac.c index f271055..01a6409 100644 --- a/hfal/hfal-hmac.c +++ b/hfal/hfal-hmac.c @@ -38,13 +38,13 @@ uint8_t hfal_hmac_init(const hfdesc_t* hash_descriptor, ctx->desc = hash_descriptor; ctx->ctx = malloc(hash_descriptor->ctxsize_B); ctx->finctx = malloc(hash_descriptor->ctxsize_B); - if(ctx->ctx==NULL && ctx->finctx==NULL) + if(ctx->ctx == NULL && ctx->finctx == NULL) return 3; - if(ctx->finctx==NULL){ + if(ctx->finctx == NULL){ free(ctx->ctx); return 2; } - if(ctx->ctx==NULL){ + if(ctx->ctx == NULL){ free(ctx->finctx); return 1; } diff --git a/test_src/cli.c b/test_src/cli.c index c9e1b31..c138a27 100644 --- a/test_src/cli.c +++ b/test_src/cli.c @@ -369,7 +369,7 @@ int8_t cmd_interface(const cmdlist_entry_t* cmd_desc){ c = cli_rx(); switch (c){ case CLI_ENTER: - if((exit_code=search_and_call(cli_buffer, maxcmdlength, cmd_desc))<=0){ + if((exit_code = search_and_call(cli_buffer, maxcmdlength, cmd_desc))<=0){ free(cli_buffer); return exit_code; } -- 2.39.5