mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 06:06:45 +02:00
Add missing braces to if/for/while blocks.
Astyle doesn't quite catch all of them.
This commit is contained in:
@ -382,8 +382,8 @@ static int password_prompt(char *buf, int size)
|
||||
if (buf[--len] != '\n') {
|
||||
int ch;
|
||||
|
||||
while ((ch = getchar()) != '\n' && ch > 0)
|
||||
;
|
||||
while ((ch = getchar()) != '\n' && ch > 0) {
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user