aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-17 17:13:51 +0100
committerMattias Andrée <maandree@kth.se>2022-02-17 17:13:51 +0100
commit7c496e0f49723401f1537208199feeed6fc5ba59 (patch)
tree0ece54f048a66202ed34fbfa267a5d8da4ade49f
parentm + add tests for optimisations (diff)
downloadlibar2-7c496e0f49723401f1537208199feeed6fc5ba59.tar.gz
libar2-7c496e0f49723401f1537208199feeed6fc5ba59.tar.bz2
libar2-7c496e0f49723401f1537208199feeed6fc5ba59.tar.xz
m style
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test.c b/test.c
index 1e33c05..915fa30 100644
--- a/test.c
+++ b/test.c
@@ -860,9 +860,8 @@ check_hash(const char *pwd_, size_t pwdlen, const char *hash,
libar2_encode_base64(output64, output, params.hashlen);
assert_streq(output64, &hash[plen]);
assert(errno == 0);
- if (sbuf) {
+ if (sbuf)
ctx->deallocate(sbuf, ctx);
- }
from_lineno = 0;
}