mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge ast_str_opaque branch (discontinue usage of ast_str internals)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -377,13 +377,13 @@ int ast_agi_send(int fd, struct ast_channel *chan, char *fmt, ...)
|
||||
|
||||
if (agidebug) {
|
||||
if (chan) {
|
||||
ast_verbose("<%s>AGI Tx >> %s", chan->name, buf->str);
|
||||
ast_verbose("<%s>AGI Tx >> %s", chan->name, ast_str_buffer(buf));
|
||||
} else {
|
||||
ast_verbose("AGI Tx >> %s", buf->str);
|
||||
ast_verbose("AGI Tx >> %s", ast_str_buffer(buf));
|
||||
}
|
||||
}
|
||||
|
||||
return ast_carefulwrite(fd, buf->str, buf->used, 100);
|
||||
return ast_carefulwrite(fd, ast_str_buffer(buf), ast_str_strlen(buf), 100);
|
||||
}
|
||||
|
||||
/* linked list of AGI commands ready to be executed by Async AGI */
|
||||
|
Reference in New Issue
Block a user