1
0
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:
iphydf
2018-07-18 15:56:21 +00:00
parent a37bf300f9
commit f2b796940e
5 changed files with 29 additions and 19 deletions

View File

@ -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;
}