[UDP-HTTP] Display a message if called with args
This is mainly to avoid a "unused variable" message when compiling.
This commit is contained in:
parent
8cc05d718c
commit
a7bfa7eb07
|
@ -84,6 +84,10 @@ int main(int argc, char *argv[])
|
|||
program_name = argv[0] ;
|
||||
owl_run = owl_true ;
|
||||
|
||||
if (argc > 1)
|
||||
fprintf(stderr,
|
||||
"Sorry, this program does not take any argument yet.\n") ;
|
||||
|
||||
/* Set up signal handlers */
|
||||
action.sa_flags = 0 ;
|
||||
sigemptyset(&action.sa_mask) ;
|
||||
|
|
Loading…
Reference in New Issue