mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
Convert tab indentation to spaces. This is how normal people do it. :D
This commit is contained in:
10
mcrcon.c
10
mcrcon.c
@ -827,15 +827,5 @@ int get_line(char *buffer, int bsize)
|
||||
buffer[strcspn(buffer, "\r\n")] = '\0';
|
||||
int len = strlen(buffer);
|
||||
|
||||
#if 0
|
||||
// clean input buffer if needed
|
||||
#ifndef _WIN32
|
||||
if (len == bsize - 1) {
|
||||
int ch;
|
||||
while ((ch = getchar()) != '\n' && ch != EOF);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user