[asterisk-commits] kpfleming: branch 1.6.0 r185960 - in /branches/1.6.0: ./ channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 2 08:57:11 CDT 2009


Author: kpfleming
Date: Thu Apr  2 08:57:07 2009
New Revision: 185960

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=185960
Log:
Merged revisions 164602 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r164602 | russell | 2008-12-16 08:17:45 -0600 (Tue, 16 Dec 2008) | 7 lines
  
  Fix usage of the DAHDI_VMWI ioctl.
  
  (closes issue #14090)
  Reported by: alecdavis
  Patches:
        chan_dahdi.VMWI_ioctl.diff.txt uploaded by alecdavis (license 585)
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_dahdi.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/channels/chan_dahdi.c?view=diff&rev=185960&r1=185959&r2=185960
==============================================================================
--- branches/1.6.0/channels/chan_dahdi.c (original)
+++ branches/1.6.0/channels/chan_dahdi.c Thu Apr  2 08:57:07 2009
@@ -8168,7 +8168,7 @@
 							if (last->msgstate != res) {
 								int x;
 								ast_debug(1, "Message status for %s changed from %d to %d on %d\n", last->mailbox, last->msgstate, res, last->channel);
-								res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res);
+								res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, &res);
 								if (res2)
 									/* TODO: This message will ALWAYS be generated on some cards; any way to restrict it to those cards where it is interesting? */
 									ast_debug(3, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno));




More information about the asterisk-commits mailing list