[svn-commits] igorg: trunk r382828 - in /trunk: ./ channels/chan_unistim.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 12 03:55:18 CDT 2013


Author: igorg
Date: Tue Mar 12 03:55:14 2013
New Revision: 382828

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382828
Log:
Fix core dump on CLI usage

Fix issue with 'unistim show info' CLI command when device connected not configured
........

Merged revisions 382827 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    trunk/   (props changed)
    trunk/channels/chan_unistim.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: trunk/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_unistim.c?view=diff&rev=382828&r1=382827&r2=382828
==============================================================================
--- trunk/channels/chan_unistim.c (original)
+++ trunk/channels/chan_unistim.c Tue Mar 12 03:55:14 2013
@@ -5908,9 +5908,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 svn-commits mailing list