nmux: fixed cmp op
This commit is contained in:
parent
20f107b578
commit
8b4323237f
1 changed files with 2 additions and 2 deletions
4
nmux.cpp
4
nmux.cpp
|
@ -102,8 +102,8 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
if(no_options) print_exit(help_text);
|
if(no_options) print_exit(help_text);
|
||||||
if(!host_port) print_exit(MSG_START "missing required command line argument, --port.\n");
|
if(!host_port) print_exit(MSG_START "missing required command line argument, --port.\n");
|
||||||
if(bufsize=<0) print_exit(MSG_START "invalid value for --bufsize (should be >0)\n");
|
if(bufsize<=0) print_exit(MSG_START "invalid value for --bufsize (should be >0)\n");
|
||||||
if(bufcnt=<0) print_exit(MSG_START "invalid value for --bufcnt (should be >0)\n");
|
if(bufcnt<=0) print_exit(MSG_START "invalid value for --bufcnt (should be >0)\n");
|
||||||
|
|
||||||
//set signals
|
//set signals
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
|
|
Loading…
Reference in a new issue