sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 81f9cf2a33ddda691a774f96b4280e3a00de6f28
parent fbf71521f15bd9a3080a756e3ef7820b532ea2a8
Author: sin <sin@2f30.org>
Date:   Fri,  4 Apr 2014 11:09:46 +0100

Fix style issue in crypt.c

Diffstat:
Mutil/crypt.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/crypt.c b/util/crypt.c @@ -8,7 +8,8 @@ #include "../crypt.h" static int -hexdec(int c) { +hexdec(int c) +{ if(c >= '0' && c <= '9') return c - '0'; else if(c >= 'A' && c <= 'F') @@ -19,7 +20,8 @@ hexdec(int c) { } static int -mdcheckline(const char *s, uint8_t *md, size_t sz) { +mdcheckline(const char *s, uint8_t *md, size_t sz) +{ size_t i; int b1, b2;