diff --git a/app.c b/app.c index 9d70e5385631cc440bcc072048e5257d3776c6c6..b7bacde652ef42c11763e422245f7cfd1a05a09c 100755 --- a/app.c +++ b/app.c @@ -231,7 +231,7 @@ int ast_app_has_voicemail(const char *mailbox, const char *folder) return ast_has_voicemail_func(mailbox, folder); if ((option_verbose > 2) && !warned) { - ast_verbose(VERBOSE_PREFIX_3 "Message check requested for mailbox %s/folder %s but voicemail not loaded.", mailbox, folder ? folder : "INBOX"); + ast_verbose(VERBOSE_PREFIX_3 "Message check requested for mailbox %s/folder %s but voicemail not loaded.\n", mailbox, folder ? folder : "INBOX"); warned++; } return 0; @@ -250,7 +250,7 @@ int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs) if (!warned && (option_verbose > 2)) { warned++; - ast_verbose(VERBOSE_PREFIX_3 "Message count requested for mailbox %s but voicemail not loaded.", mailbox); + ast_verbose(VERBOSE_PREFIX_3 "Message count requested for mailbox %s but voicemail not loaded.\n", mailbox); } return 0; diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 0c7021a62a8474db3b851138e994bde3287823d1..25fb1c7328cf583a63a2fe779d44fb4656984f92 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1571,7 +1571,7 @@ static int conf_exec(struct ast_channel *chan, void *data) if (!found) { /* At this point, we have a confno_tmp (static conference) that is empty */ if ((empty_no_pin && ((!stringp) || (stringp && (stringp[0] == '\0')))) || (!empty_no_pin)) { - /* Case 1: empty_no_pin and pin is nonexistant (NULL) + /* Case 1: empty_no_pin and pin is nonexistent (NULL) * Case 2: empty_no_pin and pin is blank (but not NULL) * Case 3: not empty_no_pin */ diff --git a/apps/app_queue.c b/apps/app_queue.c index 42a9e8b01f8028b6810d25f0dc552fdfb98c6759..b352a08f257758af76a768c7e605dc1c7633dae6 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -108,7 +108,7 @@ static char *descrip = "Queues an incoming call in a particular call queue as defined in queues.conf.\n" " This application returns -1 if the originating channel hangs up, or if the\n" "call is bridged and either of the parties in the bridge terminate the call.\n" -"Returns 0 if the queue is full, nonexistant, or has no members.\n" +"Returns 0 if the queue is full, nonexistent, or has no members.\n" "The option string may contain zero or more of the following characters:\n" " 't' -- allow the called user transfer the calling user\n" " 'T' -- to allow the calling user to transfer the call.\n" diff --git a/cdr.c b/cdr.c index 3dc4909a98f0c3f4fe9b165accd174cac3a55c4c..91a11fb0ad695b32e5a39e52c71d25b20db4784d 100755 --- a/cdr.c +++ b/cdr.c @@ -210,7 +210,7 @@ int ast_cdr_setvar(struct ast_cdr *cdr, const char *name, const char *value, int struct varshead *headp; if (!cdr) { - ast_log(LOG_ERROR, "Attempt to set a variable on a nonexistant CDR record.\n"); + ast_log(LOG_ERROR, "Attempt to set a variable on a nonexistent CDR record.\n"); return -1; } while (cdr) { diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 6c0608bce7c273d445feaf82431f90fb45761858..928ec8aa6197ac2620bf708084df6741c6293fb5 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -573,8 +573,8 @@ static struct ast_firmware_list { /* Extension exists */ #define CACHE_FLAG_EXISTS (1 << 0) -/* Extension is non-existant */ -#define CACHE_FLAG_NONEXISTANT (1 << 1) +/* Extension is nonexistent */ +#define CACHE_FLAG_NONEXISTENT (1 << 1) /* Extension can exist */ #define CACHE_FLAG_CANEXIST (1 << 2) /* Waiting to hear back response */ @@ -1954,8 +1954,8 @@ static int iax2_show_cache(int fd, int argc, char *argv[]) tmp[0] = '\0'; if (dp->flags & CACHE_FLAG_EXISTS) strncat(tmp, "EXISTS|", sizeof(tmp) - strlen(tmp) - 1); - if (dp->flags & CACHE_FLAG_NONEXISTANT) - strncat(tmp, "NONEXISTANT|", sizeof(tmp) - strlen(tmp) - 1); + if (dp->flags & CACHE_FLAG_NONEXISTENT) + strncat(tmp, "NONEXISTENT|", sizeof(tmp) - strlen(tmp) - 1); if (dp->flags & CACHE_FLAG_CANEXIST) strncat(tmp, "CANEXIST|", sizeof(tmp) - strlen(tmp) - 1); if (dp->flags & CACHE_FLAG_PENDING) @@ -5181,8 +5181,8 @@ static int complete_dpreply(struct chan_iax2_pvt *pvt, struct iax_ies *ies) status = CACHE_FLAG_EXISTS; else if (ies->dpstatus & IAX_DPSTATUS_CANEXIST) status = CACHE_FLAG_CANEXIST; - else if (ies->dpstatus & IAX_DPSTATUS_NONEXISTANT) - status = CACHE_FLAG_NONEXISTANT; + else if (ies->dpstatus & IAX_DPSTATUS_NONEXISTENT) + status = CACHE_FLAG_NONEXISTENT; if (ies->dpstatus & IAX_DPSTATUS_IGNOREPAT) { /* Don't really do anything with this */ @@ -5907,7 +5907,7 @@ static void dp_lookup(int callno, char *context, char *callednum, char *callerid } else if (ast_canmatch_extension(NULL, context, callednum, 1, callerid)) { dpstatus = IAX_DPSTATUS_CANEXIST; } else { - dpstatus = IAX_DPSTATUS_NONEXISTANT; + dpstatus = IAX_DPSTATUS_NONEXISTENT; } if (ast_ignore_pattern(context, callednum)) dpstatus |= IAX_DPSTATUS_IGNOREPAT; @@ -6292,7 +6292,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata) ast_mutex_lock(&iaxsl[fr.callno]); if (!fr.callno || !iaxs[fr.callno]) { - /* A call arrived for a non-existant destination. Unless it's an "inval" + /* A call arrived for a nonexistent destination. Unless it's an "inval" frame, reply with an inval */ if (ntohs(mh->callno) & IAX_FLAG_FULL) { /* We can only raw hangup control frames */ @@ -8833,7 +8833,7 @@ static int iax2_exec(struct ast_channel *chan, const char *context, const char * ast_verbose(VERBOSE_PREFIX_3 "Executing Dial('%s')\n", req); } else { ast_mutex_unlock(&dpcache_lock); - ast_log(LOG_WARNING, "Can't execute non-existant extension '%s[@%s]' in data '%s'\n", exten, context, data); + ast_log(LOG_WARNING, "Can't execute nonexistent extension '%s[@%s]' in data '%s'\n", exten, context, data); return -1; } } diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 601634f4928b3178f49e4f9caba464798619c5da..677157abf2271e341166d304b51ec6db71fe2837 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -2598,7 +2598,7 @@ static void destroy_session(struct skinnysession *s) ast_mutex_destroy(&s->lock); free(s); } else - ast_log(LOG_WARNING, "Trying to delete non-existant session %p?\n", s); + ast_log(LOG_WARNING, "Trying to delete nonexistent session %p?\n", s); ast_mutex_unlock(&sessionlock); } diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 86f2cd026037b7bfed2c8eb4e763afcde4ca4995..2e18dcbd87550e5da6c74a32f510a6554e3f8428 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6287,7 +6287,7 @@ static int pri_resolve_span(int *span, int channel, int offset, struct zt_spanin return 0; } } - ast_log(LOG_WARNING, "Channel %d on span %d configured to use non-existant trunk group %d\n", channel, *span, trunkgroup); + ast_log(LOG_WARNING, "Channel %d on span %d configured to use nonexistent trunk group %d\n", channel, *span, trunkgroup); *span = -1; } else { if (pris[*span].trunkgroup) { diff --git a/channels/iax2.h b/channels/iax2.h index c08d549943f39d845d8392765c098bc54bc05bea..c6b44628de3a5e93df8f0e05593366c2dd5ddb3e 100755 --- a/channels/iax2.h +++ b/channels/iax2.h @@ -150,7 +150,7 @@ #define IAX_DPSTATUS_EXISTS (1 << 0) #define IAX_DPSTATUS_CANEXIST (1 << 1) -#define IAX_DPSTATUS_NONEXISTANT (1 << 2) +#define IAX_DPSTATUS_NONEXISTENT (1 << 2) #define IAX_DPSTATUS_IGNOREPAT (1 << 14) #define IAX_DPSTATUS_MATCHMORE (1 << 15) diff --git a/include/asterisk/dundi.h b/include/asterisk/dundi.h index 4db55a33894d850801129e67fada3cc0ec3d072f..e7820691ff7c88129669157c6075b2dd8965d9cb 100755 --- a/include/asterisk/dundi.h +++ b/include/asterisk/dundi.h @@ -46,7 +46,7 @@ struct dundi_ie_hdr { #define DUNDI_PROTO_SIP 2 /* Session Initiation Protocol */ #define DUNDI_PROTO_H323 3 /* ITU H.323 */ -#define DUNDI_FLAG_NONEXISTANT (0) /* Isn't and can't be a valid number */ +#define DUNDI_FLAG_NONEXISTENT (0) /* Isn't and can't be a valid number */ #define DUNDI_FLAG_EXISTS (1 << 0) /* Is a valid number */ #define DUNDI_FLAG_MATCHMORE (1 << 1) /* Might be valid if you add more digits */ #define DUNDI_FLAG_CANMATCH (1 << 2) /* Might be a match */ diff --git a/manager.c b/manager.c index ccef1870b5575119bed36ca721db6f7c6c096912..00e955858125e3986e50ddf84eb0fda582483efc 100755 --- a/manager.c +++ b/manager.c @@ -258,7 +258,7 @@ static void destroy_session(struct mansession *s) ast_mutex_destroy(&s->lock); free(s); } else - ast_log(LOG_WARNING, "Trying to delete non-existant session %p?\n", s); + ast_log(LOG_WARNING, "Trying to delete nonexistent session %p?\n", s); ast_mutex_unlock(&sessionlock); } @@ -479,7 +479,7 @@ static int authenticate(struct mansession *s, struct message *m) set_eventmask(s, events); return 0; } - ast_log(LOG_NOTICE, "%s tried to authenticate with non-existant user '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr), user); + ast_log(LOG_NOTICE, "%s tried to authenticate with nonexistent user '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr), user); ast_config_destroy(cfg); return -1; } diff --git a/pbx.c b/pbx.c index 9bdc5d5bfda8b431981259228bc75d5863d6cf2c..666d1ff4c9020aaa7a1363c0aa29a105b3ce32a3 100755 --- a/pbx.c +++ b/pbx.c @@ -6108,7 +6108,7 @@ int ast_context_verify_includes(struct ast_context *con) for (inc = ast_walk_context_includes(con, NULL); inc; inc = ast_walk_context_includes(con, inc)) if (!ast_context_find(inc->rname)) { res = -1; - ast_log(LOG_WARNING, "Context '%s' tries includes non-existant context '%s'\n", + ast_log(LOG_WARNING, "Context '%s' tries includes nonexistent context '%s'\n", ast_get_context_name(con), inc->rname); } return res; diff --git a/res/res_features.c b/res/res_features.c index 180f8ffce2eb1f9d82aaee09851dc11578e3e495..178e72a6d521eb8f30434ebe715b775219bb5e77 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -1385,7 +1385,7 @@ static int park_exec(struct ast_channel *chan, void *data) dres = 0; } if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Channel %s tried to talk to non-existant parked call %d\n", chan->name, park); + ast_verbose(VERBOSE_PREFIX_3 "Channel %s tried to talk to nonexistent parked call %d\n", chan->name, park); res = -1; } LOCAL_USER_REMOVE(u); diff --git a/sched.c b/sched.c index 6f5d3db6f701f5718fe7d16fc6700788f5bbf75d..e8c2238d8c9bcb67d24c06cb857c4bb573048756 100755 --- a/sched.c +++ b/sched.c @@ -287,7 +287,7 @@ int ast_sched_del(struct sched_context *con, int id) } ast_mutex_unlock(&con->lock); if (!s) { - ast_log(LOG_NOTICE, "Attempted to delete non-existant schedule entry %d!\n", id); + ast_log(LOG_NOTICE, "Attempted to delete nonexistent schedule entry %d!\n", id); #ifdef DO_CRASH CRASH; #endif