fix some typos (bug #3162)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Russell Bryant 21 years ago
parent cc8996361c
commit 49d18cef95

@ -759,12 +759,12 @@ static char shutdown_when_convenient_help[] =
static char restart_now_help[] = static char restart_now_help[] =
"Usage: restart now\n" "Usage: restart now\n"
" Causes Asterisk to hangup all calls and exec() itself performing a cold.\n" " Causes Asterisk to hangup all calls and exec() itself performing a cold\n"
" restart.\n"; " restart.\n";
static char restart_gracefully_help[] = static char restart_gracefully_help[] =
"Usage: restart gracefully\n" "Usage: restart gracefully\n"
" Causes Asterisk to stop accepting new calls and exec() itself performing a cold.\n" " Causes Asterisk to stop accepting new calls and exec() itself performing a cold\n"
" restart when all active calls have ended.\n"; " restart when all active calls have ended.\n";
static char restart_when_convenient_help[] = static char restart_when_convenient_help[] =
@ -927,7 +927,7 @@ static int ast_el_read_char(EditLine *el, char *cp)
usleep(1000000 / reconnects_per_second); usleep(1000000 / reconnects_per_second);
} }
} }
if (tries >= 30) { if (tries >= 30 * reconnects_per_second) {
fprintf(stderr, "Failed to reconnect for 30 seconds. Quitting.\n"); fprintf(stderr, "Failed to reconnect for 30 seconds. Quitting.\n");
quit_handler(0, 0, 0, 0); quit_handler(0, 0, 0, 0);
} }
@ -1473,13 +1473,13 @@ static int show_cli_help(void) {
printf(" -f Do not fork\n"); printf(" -f Do not fork\n");
printf(" -g Dump core in case of a crash\n"); printf(" -g Dump core in case of a crash\n");
printf(" -h This help screen\n"); printf(" -h This help screen\n");
printf(" -i Initializie crypto keys at startup\n"); printf(" -i Initialize crypto keys at startup\n");
printf(" -n Disable console colorization\n"); printf(" -n Disable console colorization\n");
printf(" -p Run as pseudo-realtime thread\n"); printf(" -p Run as pseudo-realtime thread\n");
printf(" -q Quiet mode (supress output)\n"); printf(" -q Quiet mode (suppress output)\n");
printf(" -r Connect to Asterisk on this machine\n"); printf(" -r Connect to Asterisk on this machine\n");
printf(" -R Connect to Asterisk, and attempt to reconnect if disconnected\n"); printf(" -R Connect to Asterisk, and attempt to reconnect if disconnected\n");
printf(" -t Record soundfiles in /tmp and move them where they belong after they are done.\n"); printf(" -t Record soundfiles in /var/tmp and move them where they belong after they are done.\n");
printf(" -v Increase verbosity (multiple v's = more verbose)\n"); printf(" -v Increase verbosity (multiple v's = more verbose)\n");
printf(" -x <cmd> Execute command <cmd> (only valid with -r)\n"); printf(" -x <cmd> Execute command <cmd> (only valid with -r)\n");
printf("\n"); printf("\n");

Loading…
Cancel
Save