From: Michiel van Baak Date: Sun, 15 Feb 2009 23:37:03 +0000 (+0000) Subject: fix mis-spelling of the word registered. X-Git-Tag: 1.4.24-rc1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db4dc677406714ed56a14a61f15a493ee0abd899;p=thirdparty%2Fasterisk.git fix mis-spelling of the word registered. Reported by De_Mon on #asterisk-dev. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@175921 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e10128563c..acb0a2e900 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -355,10 +355,10 @@ enum check_auth_result { /*! \brief States for outbound registrations (with register= lines in sip.conf */ enum sipregistrystate { - REG_STATE_UNREGISTERED = 0, /*!< We are not registred */ + REG_STATE_UNREGISTERED = 0, /*!< We are not registered */ REG_STATE_REGSENT, /*!< Registration request sent */ REG_STATE_AUTHSENT, /*!< We have tried to authenticate */ - REG_STATE_REGISTERED, /*!< Registred and done */ + REG_STATE_REGISTERED, /*!< Registered and done */ REG_STATE_REJECTED, /*!< Registration rejected */ REG_STATE_TIMEOUT, /*!< Registration timed out */ REG_STATE_NOAUTH, /*!< We have no accepted credentials */ @@ -16806,7 +16806,7 @@ static struct ast_channel *sip_request_call(const char *type, int format, void * if (create_addr(p, host, NULL)) { *cause = AST_CAUSE_UNREGISTERED; if (option_debug > 2) - ast_log(LOG_DEBUG, "Cant create SIP call - target device not registred\n"); + ast_log(LOG_DEBUG, "Cant create SIP call - target device not registered\n"); sip_destroy(p); return NULL; } diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 34ae432359..9890d5f777 100644 --- a/include/asterisk/manager.h +++ b/include/asterisk/manager.h @@ -100,8 +100,8 @@ int ast_manager_register2( const char *synopsis, const char *description); -/*! Unregister a registred manager command */ -/*! \param action Name of registred Action: +/*! Unregister a registered manager command */ +/*! \param action Name of registered Action: */ int ast_manager_unregister( char *action ); diff --git a/main/devicestate.c b/main/devicestate.c index f84c87df74..5368a5ab0a 100644 --- a/main/devicestate.c +++ b/main/devicestate.c @@ -50,7 +50,7 @@ static const char *devstatestring[] = { /* 2 AST_DEVICE IN USE */ "In use", /*!< In use */ /* 3 AST_DEVICE_BUSY */ "Busy", /*!< Busy */ /* 4 AST_DEVICE_INVALID */ "Invalid", /*!< Invalid - not known to Asterisk */ - /* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /*!< Unavailable (not registred) */ + /* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /*!< Unavailable (not registered) */ /* 6 AST_DEVICE_RINGING */ "Ringing", /*!< Ring, ring, ring */ /* 7 AST_DEVICE_RINGINUSE */ "Ring+Inuse", /*!< Ring and in use */ /* 8 AST_DEVICE_ONHOLD */ "On Hold" /*!< On Hold */ diff --git a/main/pbx.c b/main/pbx.c index 187447588b..b5ef431060 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -3256,7 +3256,7 @@ static int handle_show_application(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -/*! \brief handle_show_hints: CLI support for listing registred dial plan hints */ +/*! \brief handle_show_hints: CLI support for listing registered dial plan hints */ static int handle_show_hints(int fd, int argc, char *argv[]) { struct ast_hint *hint; @@ -3288,7 +3288,7 @@ static int handle_show_hints(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -/*! \brief handle_show_switches: CLI support for listing registred dial plan switches */ +/*! \brief handle_show_switches: CLI support for listing registered dial plan switches */ static int handle_show_switches(int fd, int argc, char *argv[]) { struct ast_switch *sw;