aboutsummaryrefslogtreecommitdiffstats
path: root/nthash.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-05 11:41:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-05 11:41:43 +0200
commitb0bfe52b0be36e23423362c3fa595ef6f4ec4cba (patch)
tree900c87462442744f026e77bc06b348204fcff75a /nthash.c
parent6f4e957435a6c079ad8a5f7aa197af568930cd43 (diff)
downloadnthash-b0bfe52b0be36e23423362c3fa595ef6f4ec4cba.tar.gz
nthash-b0bfe52b0be36e23423362c3fa595ef6f4ec4cba.tar.zst
update comment
Diffstat (limited to 'nthash.c')
-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");