Skip to content
Snippets Groups Projects
Commit 73fa663b authored by Yalu Zhang's avatar Yalu Zhang Committed by Sukru Senli
Browse files

Fix a NULL pointer error in invoke of ast_log

parent 00421c99
No related branches found
No related tags found
No related merge requests found
......@@ -1439,7 +1439,7 @@ struct brcm_subchannel* brcm_get_active_subchannel(const struct brcm_pvt *p)
}
break;
default:
ast_log(LOG_WARNING, "Unhandled channel state %d\n", sub->channel_state);
ast_log(LOG_WARNING, "Unhandled channel state %d\n", p->sub[i]->channel_state);
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment