summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nthash.c4
1 files 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");