tools/hexnet: argument parser fix
parent
5cb1a52ec4
commit
c406555e4e
|
@ -75,6 +75,7 @@ int main(int argc, char* argv[]){
|
|||
}
|
||||
if (!listen && i==argc-2) {
|
||||
host = argument;
|
||||
continue;
|
||||
}
|
||||
if (i==argc-1) {
|
||||
if (!listen && host=="") {
|
||||
|
|
Loading…
Reference in New Issue