mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 19:31:07 -04:00
Code cleanups
This commit is contained in:
3
mcrcon.c
3
mcrcon.c
@ -169,8 +169,7 @@ int main(int argc, char *argv[])
|
|||||||
if (!host)
|
if (!host)
|
||||||
host = "localhost";
|
host = "localhost";
|
||||||
|
|
||||||
if(argc < 1 && pass == NULL)
|
if(argc < 1 && pass == NULL) usage();
|
||||||
usage();
|
|
||||||
|
|
||||||
// default getopt error handler enabled
|
// default getopt error handler enabled
|
||||||
opterr = 1;
|
opterr = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user