dect
/
asterisk
Archived
13
0
Fork 0

Fix false error message on DAHDI_EVENT_REMOVED (RESULT_SUCCESS == 0)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@218465 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tzafrir 2009-09-15 10:24:55 +00:00
parent de5d26c346
commit 3db1a68fa6
1 changed files with 1 additions and 1 deletions

View File

@ -10250,7 +10250,7 @@ static void *do_monitor(void *data)
if (doomed) {
int res;
res = dahdi_destroy_channel_bynum(doomed->channel);
if (!res) {
if (res != RESULT_SUCCESS) {
ast_log(LOG_WARNING, "Couldn't find channel to destroy, hopefully another destroy operation just happened.\n");
}
doomed = NULL;