[asterisk-commits] igorg: branch 11 r382827 - /branches/11/channels/chan_unistim.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 12 03:53:19 CDT 2013
Author: igorg
Date: Tue Mar 12 03:53:09 2013
New Revision: 382827
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382827
Log:
Fix core dump on CLI usage
Fix issue with 'unistim show info' CLI command when device connected not configured
Modified:
branches/11/channels/chan_unistim.c
Modified: branches/11/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_unistim.c?view=diff&rev=382827&r1=382826&r2=382827
==============================================================================
--- branches/11/channels/chan_unistim.c (original)
+++ branches/11/channels/chan_unistim.c Tue Mar 12 03:53:09 2013
@@ -5906,9 +5906,9 @@
s = sessions;
while (s) {
ast_cli(a->fd,
- "sin=%s timeout=%u state=%s macaddr=%s device=%s session=%p\n",
+ "sin=%s timeout=%u state=%s macaddr=%s device=%p session=%p\n",
ast_inet_ntoa(s->sin.sin_addr), s->timeout, ptestate_tostr(s->state), s->macaddr,
- s->device->name, s);
+ s->device, s);
s = s->next;
}
ast_mutex_unlock(&sessionlock);
More information about the asterisk-commits
mailing list