Cosmetic changes in C modules
This commit is contained in:
parent
bd94f128b3
commit
82154b9a46
|
@ -1618,8 +1618,8 @@ void print_usage()
|
|||
|
||||
void print_version()
|
||||
{
|
||||
printf("This is OwlPS Aggregator, part of the Owl"
|
||||
" Positioning System project.\n"
|
||||
printf("This is OwlPS Aggregator, part of the Owl Positioning System"
|
||||
" project.\n"
|
||||
"Version: %s.\n",
|
||||
#ifdef OWLPS_VERSION
|
||||
OWLPS_VERSION
|
||||
|
|
|
@ -126,6 +126,8 @@ int main(int argc, char *argv[])
|
|||
// Number of requests we still have to transmit:
|
||||
uint_fast16_t nb_requests_left = 1 ;
|
||||
|
||||
owl_run = true ;
|
||||
|
||||
program_name = argv[0] ;
|
||||
parse_command_line(argc, argv) ;
|
||||
|
||||
|
@ -727,7 +729,8 @@ void print_usage()
|
|||
" The\n\t\t\toptional argument <port> allows to specify the"
|
||||
" listening\n\t\t\tport (default: %d). Available only if the"
|
||||
" program was\n\t\t\tcompiled with the compilation-time option"
|
||||
"\n\t\t\tOWLPS_CLIENT_RECEIVES_POSITION.\n",
|
||||
"\n\t\t\tOWLPS_CLIENT_RECEIVES_POSITION.\n"
|
||||
,
|
||||
program_name,
|
||||
program_name,
|
||||
OWL_DEFAULT_REQUEST_PORT,
|
||||
|
@ -743,8 +746,8 @@ void print_usage()
|
|||
|
||||
void print_version()
|
||||
{
|
||||
printf("This is OwlPS Client, part of the Owl"
|
||||
" Positioning System project.\n"
|
||||
printf("This is OwlPS Client, part of the Owl Positioning System"
|
||||
" project.\n"
|
||||
"Version: %s.\n"
|
||||
"Compilation-time options:\n"
|
||||
"\tOption -l: %s.\n",
|
||||
|
|
|
@ -576,7 +576,7 @@ int parse_main_options(int argc, char **argv)
|
|||
#else // OWLPS_LISTENER_KEEPS_MONITOR
|
||||
fprintf(stderr, "Warning! The program was compiled without"
|
||||
" enabling the -K option (monitor mode keeping-up)."
|
||||
".\n") ;
|
||||
"\n") ;
|
||||
#endif // OWLPS_LISTENER_KEEPS_MONITOR
|
||||
break ;
|
||||
case 'l' :
|
||||
|
@ -1845,8 +1845,8 @@ void print_usage()
|
|||
|
||||
void print_version()
|
||||
{
|
||||
printf("This is OwlPS Listener, part of the Owl Positioning"
|
||||
" System project.\n"
|
||||
printf("This is OwlPS Listener, part of the Owl Positioning System"
|
||||
" project.\n"
|
||||
"Version: %s.\n"
|
||||
"Compilation-time options:\n"
|
||||
"\tSupport for configuration file (libconfuse): %s.\n"
|
||||
|
|
Loading…
Reference in New Issue