* \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
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;
}
/* 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);
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;