diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-05 11:41:43 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-05 11:41:43 +0200 |
commit | b0bfe52b0be36e23423362c3fa595ef6f4ec4cba (patch) | |
tree | 900c87462442744f026e77bc06b348204fcff75a | |
parent | 6f4e957435a6c079ad8a5f7aa197af568930cd43 (diff) | |
download | nthash-b0bfe52b0be36e23423362c3fa595ef6f4ec4cba.tar.gz nthash-b0bfe52b0be36e23423362c3fa595ef6f4ec4cba.tar.zst |
update comment
-rw-r--r-- | nthash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |