mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-03 14:17:37 +00:00
Add explicit comment before reading the password
This commit is contained in:
parent
257e5ee99a
commit
5c419b3117
@ -108,6 +108,11 @@ int main(int argc, char *argv[])
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Read password char by char.
|
||||||
|
*
|
||||||
|
* Doing in this way we make sure that blanks (even null bytes) end up
|
||||||
|
* in the password
|
||||||
|
*/
|
||||||
int j = 0;
|
int j = 0;
|
||||||
while (j < (BUFFER_SIZE + 1)) {
|
while (j < (BUFFER_SIZE + 1)) {
|
||||||
char c = getchar();
|
char c = getchar();
|
||||||
|
Loading…
Reference in New Issue
Block a user