mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Coverity Report: Fix issues for error type CHECKED_RETURN for core
(issue ASTERISK-19658) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/1905/ ........ Merged revisions 366094 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 366106 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@366126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2744,7 +2744,10 @@ static struct ast_frame *__analog_handle_event(struct analog_pvt *p, struct ast_
|
||||
analog_train_echocanceller(p);
|
||||
ast_copy_string(p->dop.dialstr, p->echorest, sizeof(p->dop.dialstr));
|
||||
p->dop.op = ANALOG_DIAL_OP_REPLACE;
|
||||
analog_dial_digits(p, ANALOG_SUB_REAL, &p->dop);
|
||||
if (analog_dial_digits(p, ANALOG_SUB_REAL, &p->dop)) {
|
||||
int dial_err = errno;
|
||||
ast_log(LOG_WARNING, "Dialing failed on channel %d: %s\n", p->channel, strerror(dial_err));
|
||||
}
|
||||
p->echobreak = 0;
|
||||
} else {
|
||||
analog_set_dialing(p, 0);
|
||||
|
Reference in New Issue
Block a user