summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-10-26 17:52:15 +0000
committerRussell Bryant <russell@russellbryant.com>2006-10-26 17:52:15 +0000
commit0ca6a42d7efa1a5b031228008495e9fe7e5d00b0 (patch)
treeb4975a18a567f52ea48af4cb551f864df8d45d6d /main
parent192a93aa379d5320c0a421ccd08e3a048cb400f2 (diff)
fix various spelling mistakes in comments (issue #8237, jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/manager.c2
-rw-r--r--main/pbx.c10
-rw-r--r--main/rtp.c4
-rw-r--r--main/say.c2
4 files changed, 9 insertions, 9 deletions
diff --git a/main/manager.c b/main/manager.c
index bc366f570..465e2a866 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -137,7 +137,7 @@ struct mansession {
int inuse; /*!< number of HTTP sessions using this entry */
int needdestroy; /*!< Whether an HTTP session should be destroyed */
pthread_t waiting_thread; /*!< Whether an HTTP session has someone waiting on events */
- unsigned long managerid; /*!< Unique manager identifer, 0 for AMI sessions */
+ unsigned long managerid; /*!< Unique manager identifier, 0 for AMI sessions */
time_t sessiontimeout; /*!< Session timeout if HTTP */
struct ast_dynamic_str *outputstr; /*!< Output from manager interface */
char username[80]; /*!< Logged in username */
diff --git a/main/pbx.c b/main/pbx.c
index d6f2ad8a2..bc91bd22a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3022,7 +3022,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;
@@ -3054,7 +3054,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;
@@ -4634,7 +4634,7 @@ static int ast_pbx_outgoing_cdr_failed(void)
}
/* allocation of the cdr was successful */
- ast_cdr_init(chan->cdr, chan); /* initilize our channel's cdr */
+ ast_cdr_init(chan->cdr, chan); /* initialize our channel's cdr */
ast_cdr_start(chan->cdr); /* record the start and stop time */
ast_cdr_end(chan->cdr);
ast_cdr_failed(chan->cdr); /* set the status to failed */
@@ -4672,7 +4672,7 @@ int ast_pbx_outgoing_exten(const char *type, int format, void *data, int timeout
goto outgoing_exten_cleanup;
}
/* allocation of the cdr was successful */
- ast_cdr_init(chan->cdr, chan); /* initilize our channel's cdr */
+ ast_cdr_init(chan->cdr, chan); /* initialize our channel's cdr */
ast_cdr_start(chan->cdr);
}
if (chan->_state == AST_STATE_UP) {
@@ -4845,7 +4845,7 @@ int ast_pbx_outgoing_app(const char *type, int format, void *data, int timeout,
goto outgoing_app_cleanup;
}
/* allocation of the cdr was successful */
- ast_cdr_init(chan->cdr, chan); /* initilize our channel's cdr */
+ ast_cdr_init(chan->cdr, chan); /* initialize our channel's cdr */
ast_cdr_start(chan->cdr);
}
ast_set_variables(chan, vars);
diff --git a/main/rtp.c b/main/rtp.c
index c34f56b11..cf3737c6b 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -662,7 +662,7 @@ static struct ast_frame *process_cisco_dtmf(struct ast_rtp *rtp, unsigned char *
}
if ((!rtp->resp && power) || (rtp->resp && (rtp->resp != resp))) {
rtp->resp = resp;
- /* Why we should care on DTMF compensation at receiption? */
+ /* Why we should care on DTMF compensation at reception? */
if (!ast_test_flag(rtp, FLAG_DTMF_COMPENSATE)) {
f = send_dtmf(rtp, AST_FRAME_DTMF_BEGIN);
rtp->dtmfduration = 0;
@@ -2311,7 +2311,7 @@ static int ast_rtcp_write_sr(void *data)
return res;
}
-/*! \brief Send RTCP recepient's report */
+/*! \brief Send RTCP recipient's report */
static int ast_rtcp_write_rr(void *data)
{
struct ast_rtp *rtp = data;
diff --git a/main/say.c b/main/say.c
index 45f67dc9e..c6c552b9c 100644
--- a/main/say.c
+++ b/main/say.c
@@ -3614,7 +3614,7 @@ int ast_say_date_with_format_de(struct ast_channel *chan, time_t time, const cha
/* TODO: this probably is not the correct format for doxygen remarks */
-/** ast_say_date_with_format_he Say formmated date in Hebrew
+/** ast_say_date_with_format_he Say formatted date in Hebrew
*
* \ref ast_say_date_with_format_en for the details of the options
*