From 514e61384c5f74441800a46a3762a291b1c1687c Mon Sep 17 00:00:00 2001 From: tzafrir Date: Mon, 20 Dec 2010 09:14:45 +0000 Subject: [PATCH] Typos: recieved => received git-svn-id: http://svn.digium.com/svn/asterisk/trunk@299005 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- channels/sig_pri.h | 2 +- main/aoc.c | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c5bd08c6f..691514ddc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20762,7 +20762,7 @@ static int handle_request_notify(struct sip_pvt *p, struct sip_request *req, str } } else if (!strcmp(event, "keep-alive")) { /* Used by Sipura/Linksys for NAT pinhole, - * just confirm that we recieved the packet. */ + * just confirm that we received the packet. */ transmit_response(p, "200 OK", req); } else if (!strcmp(event, "call-completion")) { res = handle_cc_notify(p, req); diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 8f2ee20e4..c981cfbb8 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -206,7 +206,7 @@ struct sig_pri_chan { struct pri_subcmd_aoc_e aoc_e; int aoc_s_request_invoke_id; /*!< If an AOC-S request was present for the call, this is the invoke_id to use for the response */ unsigned int aoc_s_request_invoke_id_valid:1; /*!< This is set when the AOC-S invoke id is present */ - unsigned int waiting_for_aoce:1; /*!< Delaying hangup for AOC-E msg. If this is set and AOC-E is recieved, continue with hangup before timeout period. */ + unsigned int waiting_for_aoce:1; /*!< Delaying hangup for AOC-E msg. If this is set and AOC-E is received, continue with hangup before timeout period. */ unsigned int holding_aoce:1; /*!< received AOC-E msg from asterisk. holding for disconnect/release */ #endif /* defined(HAVE_PRI_AOC_EVENTS) */ unsigned int inalarm:1; diff --git a/main/aoc.c b/main/aoc.c index c7cc8cf2f..733d322db 100644 --- a/main/aoc.c +++ b/main/aoc.c @@ -253,7 +253,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un decoded->multiplier = ie.multiplier; /* only one byte */ memcpy(decoded->currency_name, ie.name, sizeof(decoded->currency_name)); } else { - ast_log(LOG_WARNING, "Recieved invalid currency ie\n"); + ast_log(LOG_WARNING, "Received invalid currency ie\n"); } break; case AOC_IE_UNIT: @@ -262,7 +262,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un memcpy(&ie, data + 2, len); ast_aoc_add_unit_entry(decoded, ie.valid_amount, ntohl(ie.amount), ie.valid_type, ie.type); } else { - ast_log(LOG_WARNING, "Recieved invalid unit ie\n"); + ast_log(LOG_WARNING, "Received invalid unit ie\n"); } break; case AOC_IE_BILLING: @@ -271,7 +271,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un memcpy(&ie, data + 2, len); decoded->billing_id = ie.id; /* only one byte */ } else { - ast_log(LOG_WARNING, "Recieved invalid billing ie\n"); + ast_log(LOG_WARNING, "Received invalid billing ie\n"); } break; case AOC_IE_CHARGING_ASSOCIATION: @@ -282,7 +282,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un decoded->charging_association.charge.id = ntohl(decoded->charging_association.charge.id); } } else { - ast_log(LOG_WARNING, "Recieved invalid charging association ie\n"); + ast_log(LOG_WARNING, "Received invalid charging association ie\n"); } break; case AOC_IE_RATE: @@ -291,14 +291,14 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un memcpy(&ie, data + 2, len); aoc_parse_ie_charging_rate(decoded, &ie); } else { - ast_log(LOG_WARNING, "Recieved invalid charging rate ie\n"); + ast_log(LOG_WARNING, "Received invalid charging rate ie\n"); } break; case AOC_IE_TERMINATION_REQUEST: if (len == 0) { decoded->termination_request = 1; } else { - ast_log(LOG_WARNING, "Recieved invalid termination request ie\n"); + ast_log(LOG_WARNING, "Received invalid termination request ie\n"); } break; default: