]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
docs: Fix typos in cdr/ 1092/head
authorLuz Paz <luzpaz@pm.me>
Wed, 12 Feb 2025 15:15:10 +0000 (10:15 -0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 20 Feb 2025 21:49:11 +0000 (21:49 +0000)
Found via codespell

cdr/cdr_beanstalkd.c
cdr/cdr_custom.c
cdr/cdr_pgsql.c
cdr/cdr_sqlite3_custom.c

index 524274ffb765442bea0511483d5d822c93f52d72..107cdfc424011d4aebb2b73ecf84ea7d90850289 100644 (file)
@@ -20,7 +20,7 @@
  * \file
  * \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
  *
  * See also
index 11cf6f49cb01b72b9d9de19552ef5ee4b5a73fb2..e5202637322179a79a5910249e15eda313d3ad5d 100644 (file)
@@ -142,7 +142,7 @@ static int custom_log(struct ast_cdr *cdr)
 
        dummy = ast_dummy_channel_alloc();
        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;
        }
 
index 58ee7c1c5e0ce05648f6f9b1771e52aa21427ed7..337266e291a0e4960527f5a305532d93fb24740a 100644 (file)
@@ -375,7 +375,7 @@ static int pgsql_log(struct ast_cdr *cdr)
 
                                                /* If our argument size exceeds our buffer, grow it,
                                                 * 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) {
                                                        char *tmpbuf = ast_realloc(escapebuf, required_size);
index 9f71c8481cc9b1032e7ea84174473bf3de59ee42..4df94d46667fb307320b402c5dcbeb55fdb1d0a2 100644 (file)
@@ -253,7 +253,7 @@ static int write_cdr(struct ast_cdr *cdr)
 
                dummy = ast_dummy_channel_alloc();
                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_mutex_unlock(&lock);
                        return 0;