mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
docs: Fix typos in cdr/
Found via codespell
This commit is contained in:
committed by
github-actions[bot]
parent
d65af637ac
commit
2d7948fa48
@@ -20,7 +20,7 @@
|
|||||||
* \file
|
* \file
|
||||||
* \brief Asterisk Beanstalkd CDR records.
|
* \brief Asterisk Beanstalkd CDR records.
|
||||||
*
|
*
|
||||||
* This module requires the beanstalk-client library, avaialble from
|
* This module requires the beanstalk-client library, available from
|
||||||
* https://github.com/deepfryed/beanstalk-client
|
* https://github.com/deepfryed/beanstalk-client
|
||||||
*
|
*
|
||||||
* See also
|
* See also
|
||||||
|
@@ -142,7 +142,7 @@ static int custom_log(struct ast_cdr *cdr)
|
|||||||
|
|
||||||
dummy = ast_dummy_channel_alloc();
|
dummy = ast_dummy_channel_alloc();
|
||||||
if (!dummy) {
|
if (!dummy) {
|
||||||
ast_log(LOG_ERROR, "Unable to allocate channel for variable subsitution.\n");
|
ast_log(LOG_ERROR, "Unable to allocate channel for variable substitution.\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -375,7 +375,7 @@ static int pgsql_log(struct ast_cdr *cdr)
|
|||||||
|
|
||||||
/* If our argument size exceeds our buffer, grow it,
|
/* If our argument size exceeds our buffer, grow it,
|
||||||
* as PQescapeStringConn() expects the buffer to be
|
* as PQescapeStringConn() expects the buffer to be
|
||||||
* adequitely sized and does *NOT* do size checking.
|
* adequately sized and does *NOT* do size checking.
|
||||||
*/
|
*/
|
||||||
if (required_size > bufsize) {
|
if (required_size > bufsize) {
|
||||||
char *tmpbuf = ast_realloc(escapebuf, required_size);
|
char *tmpbuf = ast_realloc(escapebuf, required_size);
|
||||||
|
@@ -253,7 +253,7 @@ static int write_cdr(struct ast_cdr *cdr)
|
|||||||
|
|
||||||
dummy = ast_dummy_channel_alloc();
|
dummy = ast_dummy_channel_alloc();
|
||||||
if (!dummy) {
|
if (!dummy) {
|
||||||
ast_log(LOG_ERROR, "Unable to allocate channel for variable subsitution.\n");
|
ast_log(LOG_ERROR, "Unable to allocate channel for variable substitution.\n");
|
||||||
ast_free(value_string);
|
ast_free(value_string);
|
||||||
ast_mutex_unlock(&lock);
|
ast_mutex_unlock(&lock);
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user