From b0bfe52b0be36e23423362c3fa595ef6f4ec4cba Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 5 Jul 2013 11:41:43 +0200 Subject: update comment --- nthash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nthash.c b/nthash.c index 3e925c2..63d6710 100644 --- a/nthash.c +++ b/nthash.c @@ -22,9 +22,9 @@ int main(int argc, char **argv) { int i, done; md4_init(&ctx); - for (;;) { + while (1) { done = fread(buffer, 1, sizeof(buffer), stdin); - // add null bytes to string + /* add null bytes to string */ for (i = 0; i < done; i++) { if (buffer[i] == 0xa) fprintf(stderr, "Warning: Password contains line break!\n"); -- cgit v1.2.3-54-g00ecf